Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 COBOL - EXIT statement weird behavior anthony.pangestu COBOL Programming 0 Fri Oct 27, 2017 9:57 am
No new posts Where is output from PARM ABEXIT (SNA... packerm CA Products 3 Thu Sep 28, 2017 4:06 pm
No new posts MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm
No new posts WER268A OUTREC STATEMENT : SYNTAX E... frozenblood87 SYNCSORT 12 Sat Aug 26, 2017 9:45 pm
No new posts Suppress value reported by BREAK in D... Learncoholic DFSORT/ICETOOL 3 Wed Aug 16, 2017 6:03 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us