lister l'IFS
Citation de jma le 9 novembre 2018, 14 h 15 minBonjour,
Si quelqu'un a un source d'un programme qui liste tout l'IFS dans un fichier, je suis preneur !
Merci !
Jean
Bonjour,
Si quelqu'un a un source d'un programme qui liste tout l'IFS dans un fichier, je suis preneur !
Merci !
Jean
Citation de remit le 9 novembre 2018, 18 h 16 minAu plus simple, on peut faire :
CRTPF FILE(UNEBIB/LSTFICIFS) RCDLEN(500) SIZE(*NOMAX)
puis :
SBMJOB CMD(QSH CMD('find / -name ''*'' >/QSYS.LIB/UNEBIB.LIB/LSTFICIFS.FILE/LSTFICIFS.MBR')) JOBQ(QBATCH)
(l'exécution en Batch est fortement conseillée).La liste est dans le fichier LSTFICIFS.
Il y a des méthodes plus élaborées.
Au plus simple, on peut faire :
CRTPF FILE(UNEBIB/LSTFICIFS) RCDLEN(500) SIZE(*NOMAX)
puis :
SBMJOB CMD(QSH CMD('find / -name ''*'' >/QSYS.LIB/UNEBIB.LIB/LSTFICIFS.FILE/LSTFICIFS.MBR')) JOBQ(QBATCH)
(l'exécution en Batch est fortement conseillée).
La liste est dans le fichier LSTFICIFS.
Il y a des méthodes plus élaborées.