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 How to change 'K' or 'M' use Sort vice_versa DFSORT/ICETOOL 5 Thu May 18, 2017 7:11 am
No new posts Adding big TEXT lines to each record ... bshkris SYNCSORT 4 Sat May 06, 2017 1:40 am
This topic is locked: you cannot edit posts or make replies. SORT trick needed bshkris SYNCSORT 6 Tue May 02, 2017 4:35 am
No new posts SORT JSON type of data maxsubrat DFSORT/ICETOOL 8 Wed Apr 19, 2017 6:01 pm
No new posts Sort Large record length cmsmoon DFSORT/ICETOOL 14 Tue Apr 11, 2017 5:49 pm


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