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
 

 

Using DFSPARM to insert a value into a sort

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
scottgb

New User


Joined: 29 Mar 2006
Posts: 5

PostPosted: Thu Aug 03, 2006 7:13 pm    Post subject: Using DFSPARM to insert a value into a sort
Reply with quote

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
View user's profile Send private message

scottgb

New User


Joined: 29 Mar 2006
Posts: 5

PostPosted: Thu Aug 03, 2006 8:29 pm    Post subject: Re: Using DFSPARM to insert a value into a sort
Reply with quote

Never mind, I just found the list of allowable DFSPARM parms.

Thanks anyway,
Scott
Back to top
View user's profile Send private message
Alain Benveniste

New User


Joined: 14 Feb 2005
Posts: 88

PostPosted: Fri Aug 04, 2006 12:33 am    Post subject:
Reply with quote

Scoot,

I'm not sure what would be the profit to do it that.
Anyway it's not possible.

Alain
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Sat Aug 05, 2006 10:51 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL 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