Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Automate sort JCL in production environment

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Deja vu

New User


Joined: 15 Oct 2009
Posts: 23
Location: Pune

PostPosted: Tue Nov 02, 2010 1:20 pm    Post subject: Automate sort JCL in production environment
Reply with quote

Hello!

I Need to schedule a sort job in production but my sort card has a value that changes everyday… i.e.

SORT FIELDS=COPY,
INCLUDE COND=((1,8,PD,EQ,21001129)

Tomorrow my sort card may be

SORT FIELDS=COPY,
INCLUDE COND=((1,8,PD,EQ,21001209)


I have list of data that needs to besupplied to sort card, but not sure How to automate it without manually changing the sort cards.

Thanks!
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Nov 02, 2010 3:07 pm    Post subject:
Reply with quote

Investigate the use of schedular date variables.
Go talk to the people responsible for your scheduling software.
Back to top
View user's profile Send private message
Ronald Burr

Active User


Joined: 22 Oct 2009
Posts: 293
Location: U.S.A.

PostPosted: Tue Nov 02, 2010 9:30 pm    Post subject:
Reply with quote

In what form will the "list of data" exist?
If the list can be provided in a dataset, then the solution is to use that dataset as SORTIN to a SORT step that will transform the list into sort statements (SORTOUT) that will subsequently be used as SYSIN to another SORT step.
Examples of doing such abound.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORT to unpack a feild shr_amar DFSORT/ICETOOL 7 Fri Jul 07, 2017 4:32 am
No new posts How to write Specific Fields from Mul... Padhu SYNCSORT 6 Thu Jul 06, 2017 10:26 am
No new posts Optimize sort inrec parse vishwakotin DFSORT/ICETOOL 6 Mon Jun 26, 2017 11:15 pm
No new posts Reduce CPU Times for Join Sort santoshn SYNCSORT 12 Sat Jun 10, 2017 1:40 pm
No new posts Db2 load job abending in SORT mistah kurtz DB2 4 Mon Jun 05, 2017 3:58 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us