steve-myers wrote:First of all, I'm not a Cobol person. Second, I'm inclined to agree with Akatsukami. Third, this is not likely to be something a "beginner" would want to try. Fourth, I'd read up on IGGCSI00, though I'm not so sure if this would be appropriate. Fifth, what are you really trying to do??? What do you really want to do with this output??? There may be simpler methods to accomplish what you really want to do.
enrico-sorichetti wrote:why COBOL when there are examples available doing it wit <sort>
anyway the best thing would be to run a LISTCAT and process the output... not invoke IDCAMS thru COBOL
BillyBoyo wrote:Run the LISTCAT with the output going to a dataset.
Read the dataset in the Cobol program.
skankatala wrote:BillyBoyo wrote:Run the LISTCAT with the output going to a dataset.
Read the dataset in the Cobol program.
Is there any chance to write the LISTCAT logic in cobol without JCL?
Akatsukami wrote:skankatala wrote:BillyBoyo wrote:Run the LISTCAT with the output going to a dataset.
Read the dataset in the Cobol program.
Is there any chance to write the LISTCAT logic in cobol without JCL?
I just told you how, mushi. Besides, since you don't know COBOL, how do you expect to write this?