Accessing Mutlimember Files
Posted on 2004-09-01
Using the below command as part of a CL Program
DSPFFD FILE(*USRLIBL/*ALL) OUTPUT(*OUTFILE) +
This command list all files and fields in given library list
I'm using this Outputfile (Library/Filename) in a program to change the value of a particular Common 'Field' meeting certain critera for all the files in the library(*USRLIBL/*ALL).
Field Partno; change the value 445 to 544 for all files with Field Partno
with out specifying all file names the above command accomplishes this.
But the only problem I have is when it encounters a multimember file it only outputs the first member of a mutlimember file, hence I cannot update the remaining multimember files leaving the update incomplete.