Page 2 of 2

Re: Passing values to COBOL which uses OCCURS clause

PostPosted: Mon Feb 01, 2010 9:34 am
by dick scherrer
Hello,

If there was a business requirement to list this information,the data would be in a file. The informaton for a person would be in a record. The file would be opened and read in the code and the output written as needed.

Re: Passing values to COBOL which uses OCCURS clause

PostPosted: Mon Feb 01, 2010 3:15 pm
by kranthi.kumarmca22
Ok thats using file handling concepts
open the file
read the file
write or rewrite the file

In batch processing these are the two methods used
1.Passing through jcl
2.using file handling concepts

thanks for that

Re: Passing values to COBOL which uses OCCURS clause

PostPosted: Tue Feb 02, 2010 12:43 am
by dick scherrer
Hello,

In batch processing these are the two methods used
1.Passing through jcl
2.using file handling concepts
Sorry, but no. . .

Input data is typically not embedded in the jcl. It is in a file.