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
 
ICETOOL. Record length of the output file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
siddheart22

New User


Joined: 09 Oct 2006
Posts: 19
Location: Toronto

PostPosted: Tue Mar 02, 2010 1:12 am    Post subject: ICETOOL. Record length of the output file
Reply with quote

HI,

I have an input file:
record Length = 80. The input file has:
Code:
2006324VAC     01987759149                                                     
2010074MM2     03000339721   


I use ICETOOL:
Code:
OCCUR FROM(INPUT) LIST(OUTPUT) -     
  HEADER('TACTIC ID') ON(1,10,CH) - 
  HEADER('COUNT') ON(VALCNT)   


Out put created is 121 bytes long. the output file has:
Code:
TACTIC ID                        COUNT                                         
--------------------   ---------------                                         
2006324VAC             000000000000001                                         
2010074MM2             000000000000001     


The output file contains the expected value, but why is the record length 121 bytes. In my JCL my DCB & SPACE parameters are coded as:
Code:
DCB=(SRCDSCB,RECFM=FB,LRECL=80),
SPACE=(80,(100,100),RLSE), 


Thanks
Back to top
View user's profile Send private message

Skolusu

Senior Member


Joined: 07 Dec 2007
Posts: 2205
Location: San Jose

PostPosted: Tue Mar 02, 2010 1:46 am    Post subject: Reply to: ICETOOL. Record length of the output file
Reply with quote

siddheart22,

The documentation for OCCURS and DISPLAY operator clearly mentions as to how the LRECL of 121 is set

Code:

LRECL is set to one of the following:

    * If WIDTH(n) is specified, LRECL is set to n. Use WIDTH(n) if your LRECL must be set to a particular value (for example, if you use DISP=MOD to place several reports in the same data set).

    * | If WIDTH(n) is not specified and NOCC is not specified , LRECL is set to 121 or to the calculated required line length if it is greater than 121 characters.

    * | If WIDTH(n) is not specified and NOCC is specified, LRECL
      | is set to 120 or to the calculated required line length
      | if it is greater than 120 characters.


Read it here

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ICE1CA40/6.8.4
Back to top
View user's profile Send private message
siddheart22

New User


Joined: 09 Oct 2006
Posts: 19
Location: Toronto

PostPosted: Tue Mar 02, 2010 2:53 am    Post subject: Reply to: ICETOOL. Record length of the output file
Reply with quote

Thanks Kolusu.
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 Subtract the ZD fields to provide neg... Balaryan DFSORT/ICETOOL 4 Wed Oct 11, 2017 10:51 pm
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts sort records based on length exceeds ... maxsubrat DFSORT/ICETOOL 7 Wed Oct 04, 2017 4:48 pm
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am

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