variables passing in the include statement



Support for NetApp SyncSort for z/OS, Visual SyncSort, SYNCINIT, SYNCLIST and SYNCTOOL

variables passing in the include statement

Postby MAINFRAMETESTER » Wed Sep 16, 2009 8:02 pm

Can we pass variables set in the jcl to referenced in the include statement. For example see below

// SET VAR1='ABCD'

//SORT PGM=SORT
...
//SYSIN DD *
INCLUDE COND=(6,1,CH,EQ,&VAR1)
SORT FIELDS=(19,16,CH,A,11,4,PD,A,7,4,FI,A)

Basically i have a requirement to use same proc from different jcls and the value in variable VAR1 may change based on the JCL?
Is there a way this can be accomplished?
MAINFRAMETESTER
 
Posts: 2
Joined: Wed Sep 16, 2009 7:52 pm
Has thanked: 0 time
Been thanked: 0 time

Re: variables passing in the include statement

Postby MrSpock » Wed Sep 16, 2009 9:21 pm

See this previous topic. Same issue, same suggestion.
User avatar
MrSpock
Global moderator
 
Posts: 809
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 4 times


Return to Syncsort/Synctool

 


  • Related topics
    Replies
    Views
    Last post