× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



List,

We will be migrating COBOL programs from a VSE/ESA system to i5. Many of our 
COBOL programs have optional input parameters that drive the processing. The 
way the majority of them handle the parms is that the parms are coded 
"in-line" in the JCL. The program defines the system reader device as a 
"file". This technique has proven to be the most flexible since it enables 
the program to handle 0 to many input parms and keeps "reading" the file 
until end-of-file (translated that means when the JCL card containing the 
"/*" card is read).

So, I would like opinions as to how best to adapt this type of processing to 
the iSeries world. Is there a way to define the system reader device as a 
file to the COBOL program which can read in the parameter cards that are 
"in-line" in the CL and *know* when to stop (EOF)?

If not, what is the closest method that would require the fewest logic 
changes to the existing programs?

Your ideas please. TIA!


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.