Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 8500

COBOL Programming :: RE: Obtaining file information

$
0
0
Author: Nic Clouston
Posted: Tue Sep 27, 2016 8:39 pm (GMT 5.5)

You could call IDCAMS from within your COBOL program and extract the information that you want from that. Or, if you don't like doing that then run the IDCAMS as a separate step and parse the output as yet another step.

But it is bad design if your dataset (not file) does not have control information on it especially when coming from external sources. There should be no problem raising a change request. In fact, if the auditors knew about it they would probably insist.
_________________
Regards
Nic


Viewing all articles
Browse latest Browse all 8500

Trending Articles