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

Using SYMNAMES in OPTION statement


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Claes Norreen

Active User


Joined: 20 Dec 2005
Posts: 137
Location: Denmark

PostPosted: Tue Jun 03, 2008 1:03 pm
Reply with quote

Hi,

Would be nice if this was possible:
Code:
//SYMNAMES DD *                                         
ANTAL,10000                             
//TOOLIN   DD *               
  COPY FROM(IN) TO(OUT) USING(CTL1)
  COUNT FROM(OUT) RC4 LOWER(ANTAL)  <== Works
//CTL1CNTL DD *       
  OPTION STOPAFT=ANTAL              <== Doesn't work :(


If it did work, I would only have to change the number of records I wanted to process ONE time...

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

DFSORT Developer


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

PostPosted: Tue Jun 03, 2008 8:54 pm
Reply with quote

Thanks for the suggestion. I'll put it on the list of possible candidates for future enhancements to DFSORT.
Back to top
View user's profile Send private message
Claes Norreen

Active User


Joined: 20 Dec 2005
Posts: 137
Location: Denmark

PostPosted: Wed Oct 29, 2008 7:14 pm
Reply with quote

This could be extended to any keyword, that takes a literal as a parameter, eg.
Code:
//SYMNAMES DD *                                         
OUTLEN,500
//TOOLIN   DD *               
  COPY FROM(IN) TO(OUT) USING(CTL1)
//CTL1CNTL DD *       
  INREC IFOUTLEN=OUTLEN,
    IFTHEN=(WHEN=....
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 -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts SCOPE PENDING option -check data DB2 2
No new posts OUTFIL with SAVE option DFSORT/ICETOOL 7
No new posts CICS vs LE: STORAGE option CICS 0
No new posts INSYNC option with same function as I... JCL & VSAM 0
No new posts Option DYNALLOC second parameter. DFSORT/ICETOOL 11
Search our Forums:

Back to Top