View previous topic :: View next topic |
Author |
Message |
ranga_subham Intermediate
Joined: 31 Jan 2006 Posts: 255 Topics: 72
|
Posted: Thu Jun 10, 2010 8:24 am Post subject: count with outrec |
|
|
Hi,
Is it possible to use COUNT (of ICETOOL) with OUTREC option to write the count at some other position instead of starting position.
I tried below SORT card but it always writes the count to starting position.
Code: |
//STEP0001 EXEC PGM=ICETOOL
//TOOLMSG DD SYSOUT=*
//DFSMSG DD SYSOUT=*
//IN DD DSN=INPUT-FILE,
// DISP=(SHR,KEEP,KEEP)
//OUT DD SYSOUT=*
//TOOLIN DD *
COUNT FROM(IN) USING(SRT1) WRITE(OUT) DIGITS(6)
//SRT1CNTL DD *
INCLUDE COND=(21,2,CH,EQ,C'01')
/*
|
Thanks. _________________ Ranga
*****
None of us is as smart as all of us - Ken Blanchard |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
ranga_subham Intermediate
Joined: 31 Jan 2006 Posts: 255 Topics: 72
|
Posted: Thu Jun 10, 2010 10:49 am Post subject: |
|
|
Ok...I tried this card but it is masking text on output digits _________________ Ranga
*****
None of us is as smart as all of us - Ken Blanchard |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Thu Jun 10, 2010 10:55 am Post subject: |
|
|
ranga_subham wrote: | Ok...I tried this card but it is masking text on output digits |
huh? what are you talking about? show me the complete sysout and output _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
ranga_subham Intermediate
Joined: 31 Jan 2006 Posts: 255 Topics: 72
|
Posted: Thu Jun 10, 2010 11:06 am Post subject: |
|
|
sorry.......my mistake in coding.........it works _________________ Ranga
*****
None of us is as smart as all of us - Ken Blanchard |
|
Back to top |
|
|
|
|