Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 records based on length exceeds ... maxsubrat DFSORT/ICETOOL 7 Wed Oct 04, 2017 4:48 pm
No new posts JOINKEYS Paired and Unpaired Sort MFwhiz DFSORT/ICETOOL 4 Fri Sep 29, 2017 1:48 am
No new posts Difference in SORT & ICETOOL Mohan Kothakota DFSORT/ICETOOL 5 Fri Sep 22, 2017 4:56 pm
No new posts OC4 in SORT Mohan Kothakota DFSORT/ICETOOL 2 Tue Sep 12, 2017 6:30 pm
No new posts SORT Trailer Count - LRECL Output co... amorante DFSORT/ICETOOL 5 Tue Aug 29, 2017 8:57 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us