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
 

 

Report output in Spool

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
amitc23

New User


Joined: 05 Nov 2014
Posts: 79
Location: India

PostPosted: Tue Apr 26, 2016 4:32 pm    Post subject: Report output in Spool
Reply with quote

Hi

I am printing a report with multiple headings and details in the spool. In JCL I have defined the DD Statement as

//REPORT DD SYSOUT=&SYSOUT,DCB=(RECFM=FM,BLKSIZE=133)

However the report is created in spool with length 135.

-------------------------------------------------------------------------------
SDSF OUTPUT DISPLAY TESTJOB JOB04288 DSID 191 LINE 0 COLUMNS 56- 135
COMMAND INPUT ===> SCROLL ===> CSR
********************************* TOP OF DATA **********************************
TEST INTERFACE REPORT 05-55 04-26-2016


I checked all the headings/details and all of them sum up to 132.

Please suggest ?

Thanks
Amit[/b]
Back to top
View user's profile Send private message

Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1788
Location: UK

PostPosted: Tue Apr 26, 2016 7:10 pm    Post subject:
Reply with quote

Quote:
COMMAND INPUT ===> SCROLL ===> CSR

Somehow I do not think that this is correct! You know how to use the code tags - use them.
Back to top
View user's profile Send private message
Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 1696
Location: NY,USA

PostPosted: Tue Apr 26, 2016 9:05 pm    Post subject:
Reply with quote

What happens when you give lrec =132 in dcb and compares against the above report?
Back to top
View user's profile Send private message
Willy Jensen

Active User


Joined: 01 Sep 2015
Posts: 127
Location: Switzerland

PostPosted: Wed Apr 27, 2016 8:09 pm    Post subject:
Reply with quote

if the program specifies lrecl 135 internally, then that is what you get, no matter what you specify in JCL.
Back to top
View user's profile Send private message
amitc23

New User


Joined: 05 Nov 2014
Posts: 79
Location: India

PostPosted: Wed Apr 27, 2016 9:23 pm    Post subject:
Reply with quote

In program it is x(133)
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts find RACF group for access to spooled... jzhardy JCL & VSAM 1 Mon May 08, 2017 11:46 am
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm
No new posts Splitting of single report to seperat... abdulrafi TSO/ISPF 7 Mon Mar 27, 2017 3:59 pm
No new posts Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm


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