Page 2 of 2

Re: JCL to copy first 50 records

PostPosted: Tue Dec 07, 2010 11:47 pm
by anubhav.1982
Thanks a lot lot Frank..it worked :-)

Re: JCL to copy first 50 records

PostPosted: Wed Dec 08, 2010 1:28 am
by steve-myers
anubhav.1982 wrote:tHE jcl GAVE AN ERROR

WER224A SORTIN NOT DEFINED
The "JCL" did not give you the error; the Syncsort program gave you the error. The message is pretty simple: sort programs require an input data set to sort or copy, it is usually specified by a DD statement with DD name SORTIN.

Re: JCL to copy first 50 records

PostPosted: Wed Dec 08, 2010 2:22 am
by NicC
anubhav.1982 wrote:Copying the records from one file to another is real quick in JCL and I have been doing that for a while


But the JCL you used did NOT do the copying - it was the program specified in the JCL.

JCL stands for JOB control language, not some-utility, e.g. SORT, control language.