How to print elements with source length greater than 121 ?
search cancel

How to print elements with source length greater than 121 ?

book

Article ID: 68723

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

Trying to print an element with LRECL=250.   Printing TO C1PRINT or TO FILE xxxx will truncate the output.  The manual says to use TO C1PRTVB to avoid the truncation.

When the following SCL is used:

PRINT ELEMENT ELEMENT1                                          
 FROM ENV env1 SYS sys1 SUB subsys1 TYPE type1 STAGE NUMBER 1
 TO C1PRTVB.   

the job finishes RC=12 with the below error:                    

BSTPPARS: E004 INVALID COMMAND WORDING, FOUND: C1PRTVB

Environment

Release: All Supported Releases

Resolution

The DDNAME keyword is required:

PRINT ELEMENT ELEMENT1                                          
 FROM ENV env1 SYS sys1 SUB subsys1 TYPE type1 STAGE NUMBER 1
 TO DDNAME C1PRTVB.   

with C1PRTVB allocated as:

//C1PRTVB  DD DISP=(,CATLG),DSN=hlq.C1PRTVB,
//               SPACE=TRK(5,5),UNIT=SYSDA,
//               DCB=(RECFM=VB,LRECL=27994,BLKSIZE=0)

or

//C1PTRVB  DD SYSOUT=*,DCB=(LRECL=300,RECM=VB,BLKSIZE=0)