CA Easytrieve: How to code JCL for the EZTR001 file to then eliminate B37 abend
search cancel

CA Easytrieve: How to code JCL for the EZTR001 file to then eliminate B37 abend

book

Article ID: 193222

calendar_today

Updated On:

Products

Easytrieve Report Generator

Issue/Introduction

The job is abending with SB37-04 on the DD statement for EZTR001, which is a dynamically allocated temporary dataset.

May this DD statement be hardcoded in the JCL?

Environment

CA Easytrieve Report Generator, release 11.6

Resolution

Here is an example of how to code in the JCL the DD statement for the EZTR001 file:

 //EZTR001  DD  DSN=high.level.qualifier.TEST.EZTR001,
 //             DISP=(NEW,CATLG,CATLG),
 //             UNIT=SYSDA,
 //             SPACE=(CYL,(100,100),RLSE),STORCLAS=WORK,
 //             DCB=(RECFM=FB,LRECL=1800,BLKSIZE=0)

 with the following coded inside the program:

PARM LIST (PARM FILE) WORKFILE (YES)
FILE EZTR001  FB (80 27920)