Page 1 of 1

sending 1 lakh records from jcl to cobol program

PostPosted: Thu Sep 30, 2010 3:46 pm
by btech.abhi
sending 1 lakh records from jcl to cobol program

Re: sending 1 lakh records from jcl to cobol program

PostPosted: Thu Sep 30, 2010 4:27 pm
by Robert Sample
1. Is there a question in here, or are you just telling us what you're doing?

2. JCL executes programs and does nothing else -- so you cannot, by definition, send records from JCL to a COBOL program.

Re: sending 1 lakh records from jcl to cobol program

PostPosted: Thu Sep 30, 2010 4:36 pm
by steve-myers
Do not, ever, use Indian terminology in these requests. Those of us not from India do not understand these terms, so we cannot respond to a request of this type.

As I recall "lakh" is a very large number. JCL specifies the name of data sets, among other things. To send a very large amount of data to a program, specify the name of the data set that contains this amount of data in the JCL. JCL cannot create data on its own, except for relatively small amounts of data included as a data set defined by a DD * or DD DATA JCL statement, but even this data is "created" by the user preparing the JCL. I very much doubt a user can create this amount of data while preparing a job.