View previous topic :: View next topic
|
Author |
Message |
scottgb
New User
Joined: 29 Mar 2006 Posts: 5
|
|
|
|
Hello, I have a programmer that wants to be able to insert the following sort value into a data set, and then use that data set in several different jobs.
The sort value he wants to put in the data set is:
DATE2-1
I thought we could just insert this value into a data set, and use the
DFSPARM DD, I'm not sure if this will work.
As an example, one of his sorts looks like this:
INCLUDE COND=(421,6,CH,EQ,DATE2-1)
Would I still be able to insert the DATE2-1 into the above sort
by using DFSPARM containing just DATE2-1? If so, would I just
put the DFSPARM DD into the sort step, and still have the
INCLUDE COND=(421,6,CH,EQ)
Thanks,
Scott |
|
Back to top |
|
|
scottgb
New User
Joined: 29 Mar 2006 Posts: 5
|
|
|
|
Never mind, I just found the list of allowable DFSPARM parms.
Thanks anyway,
Scott |
|
Back to top |
|
|
Alain Benveniste
New User
Joined: 14 Feb 2005 Posts: 88
|
|
|
|
Scoot,
I'm not sure what would be the profit to do it that.
Anyway it's not possible.
Alain |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Scott,
DFSPARM is for DFSORT control statements and options. It wouldn't make sense to put DATE2-1 into DFSPARM since it's not a control statement or option.
It's not clear exactlywaht you're trying to do.
You can use DATE2-1 directly in an INCLUDE statement.
If you want to use something like DATE2-1 in a data set instead of directly in an INCLUDE statement, you could generate a DFSORT symbol for DATE2-1, e.g.
MYDATE,date
specify
//SYMNAMES DD DSN=dsname,...
and use MYDATE in the INCLUDE statement, e.g.
Code: |
INCLUDE COND=(421,6,CH,EQ,MYDATE)
|
|
|
Back to top |
|
|
|