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 Innovations in Your Mainframe Sort Arun Raj PC Guides & IT News 4 Wed Mar 15, 2017 10:38 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts SORT requirement sjiraga COBOL Programming 6 Thu Mar 09, 2017 9:11 pm
No new posts SORT to append Month and YEAR in MMYY... tisamf DFSORT/ICETOOL 1 Wed Mar 08, 2017 4:46 pm
No new posts JCL sort Match and NoMatch rakeshsekar1987 SYNCSORT 2 Thu Feb 02, 2017 10:26 pm


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