Joined: 24 Jul 2011 Posts: 651 Location: Down on the pig farm
Posted: Thu Oct 10, 2013 5:42 pm Post subject:
You cannot - try looking up OUTREC in the JLC language reference manual. I suspect that you will find that that keyword does not even exist. In general, JCL does not manipulate data - it just tells the OS which programs you want to run and what resources the programs need including, for utility programs, where to find program control cards.
(Edited much later) I missed the word "sort" in your post. What do you mean by "JCL sort" sorting the JCL or in a batch sort? If you are making a sort query what is wrong with the section of the forum immediately following this JCL section. That section is labelled (clearly) Dfsort and (less clearly) Syncsort so whichever sort product you use - and you did not specify - you should post there.
Which sort product do you use - this may affect the control cards required? Look at the messages produced, not the program name in PGM=. _________________ Regards
Last edited by NicC on Fri Oct 11, 2013 2:14 am; edited 1 time in total
Where are they inserted from? Do they need to be reformatted? How many records?
Is SORT the appropriate tool? SORT is generally reading an entire dataset, doing some processing, and writing an entire dataset. Having you tried using SORT to insert keys in a KSDS? Have you found it in the manuals?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum