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 SYMNAMES in OPTION statement

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: Using SYMNAMES in OPTION statement
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 Moderator


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

PostPosted: Tue Jun 03, 2008 8:54 pm    Post subject:
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    Post subject:
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    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 DFSORT - Overriding default option TU... Steve Ironmonger DFSORT/ICETOOL 3 Tue Apr 04, 2017 3:54 pm
No new posts ROUNDED Problem with COMPUTE statement shalem COBOL Programming 11 Thu Feb 09, 2017 8:16 pm
No new posts VALIDATE NULL VALUE IN DB2 CASE STATE... useit DB2 5 Thu Feb 09, 2017 4:34 pm
No new posts SYMNAMES problem jacobdng DFSORT/ICETOOL 7 Thu Dec 22, 2016 7:47 am
No new posts -913/-911 Deadlock during UPDATE stat... NoSleep319 DB2 5 Fri Nov 18, 2016 12:37 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us