IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Automate sort JCL in production environment


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 8797
Location: Welsh Wales

PostPosted: Tue Nov 02, 2010 3:07 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts JCL sort card - get first day and las... JCL & VSAM 9
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts how to calculate SUM value for VB fil... DFSORT/ICETOOL 1
Search our Forums:

Back to Top