JCL to copy first 50 records



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Re: JCL to copy first 50 records

Postby anubhav.1982 » Tue Dec 07, 2010 11:47 pm

Thanks a lot lot Frank..it worked :-)
anubhav.1982
 
Posts: 8
Joined: Wed Oct 20, 2010 7:04 pm
Has thanked: 0 time
Been thanked: 0 time

Re: JCL to copy first 50 records

Postby steve-myers » Wed Dec 08, 2010 1:28 am

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.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: JCL to copy first 50 records

Postby NicC » Wed Dec 08, 2010 2:22 am

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.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Previous

Return to JCL

 


  • Related topics
    Replies
    Views
    Last post