View: ABEND=S000 U1005 Error in SARBCH print job .
search cancel

View: ABEND=S000 U1005 Error in SARBCH print job .

book

Article ID: 207723

calendar_today

Updated On:

Products

View

Issue/Introduction

When using a DD Dummy JCL statement for the output from a SARBCH print function, an abend occurs. From the abend:

  USER COMPLETION CODE=1005                                 
   ACTIVE LOAD MODULE           
   NAME=SARSDIM


The JCL looks like this:

//NAME   DD  DUMMY,
//             DCB=(RECFM=VBA,LRECL=137,DSORG=PS)

Environment

Release : View 14.0

Cause

There is no BLKSIZE parameter in the DCB statement associated with the DD  DUMMY, so an error occurs when View issues a GETMAIN. View intercepts the system abend and issues a U1005.

Resolution

Add a BLKSIZE=141 to the DD's DCB parameter.

Change from

//NAME   DD  DUMMY,
//             DCB=(RECFM=VBA,LRECL=137,DSORG=PS)

to

//NAME   DD  DUMMY,
//             DCB=(RECFM=VBA,LRECL=137,BLKSIZE=141,DSORG=PS)