View previous topic :: View next topic
|
Author |
Message |
Claes Norreen
Active User
Joined: 20 Dec 2005 Posts: 137 Location: Denmark
|
|
|
|
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 |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Thanks for the suggestion. I'll put it on the list of possible candidates for future enhancements to DFSORT. |
|
Back to top |
|
|
Claes Norreen
Active User
Joined: 20 Dec 2005 Posts: 137 Location: Denmark
|
|
|
|
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 |
|
|
|