B37 Abend for a DD statement that is not defined in the JCL



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

B37 Abend for a DD statement that is not defined in the JCL

Postby umeshm1985 » Sat Aug 31, 2013 2:59 pm

Hi,

I'm receiving below error in a JCL.

Error from SDSF logs:

IEF236I ALLOC. FOR SYS4UMTA RACFRW2
IEF237I JES2 ALLOCATED TO SYSPRINT
IEF237I JES2 ALLOCATED TO SYSTSPRT
IGD103I SMS ALLOCATED TO DDNAME RSMFIN
IGD103I SMS ALLOCATED TO DDNAME SYSTSIN
IGD101I SMS ALLOCATED TO DDNAME (SORTIN )
DSN (SYS13243.T041837.RA000.SYS4UMTA.R0E05488 )
STORCLAS (SCNORM) MGMTCLAS ( ) DATACLAS ( )
VOL SER NOS= 3T3001
IEF237I D100 ALLOCATED TO SORTLIB
IEF237I JES2 ALLOCATED TO SYSOUT
IEC030I B37-04,IFG0554A,SYS4UMTA,RACFRW2,SORTIN,E208,3T3001,SYS13243.T041837.RA
IEA995I SYMPTOM DUMP OUTPUT
SYSTEM COMPLETION CODE=B37 REASON CODE=00000004
TIME=04.18.39 SEQ=53610 CPU=0000 ASID=008D
PSW AT TIME OF ERROR 075C1000 80E71656 ILC 2 INTC 0D
NO ACTIVE MODULE FOUND
NAME=UNKNOWN
DATA AT PSW 00E71650 - 41003038 0A0DB20A 00509808
GR 0: 00E71864 1: A4B37000
2: 0002459C 3: 00E7182C
4: 0099D4A8 5: 00E88000
6: 0099D74C 7: 0099D7A4
8: 0099D76C 9: 0099E710
A: 00997C70 B: 00E7136A
C: 009B60C0 D: 7F5DED20
E: 00E7136A F: 00000004
END OF SYMPTOM DUMP
IEF142I SYS4UMTA RACFRW2 - STEP WAS EXECUTED - COND CODE 0012


The JCl I'm using is a below:

//SYS4UMTA JOB (S3P00000),MOHAN,CLASS=A,MSGCLASS=X,NOTIFY=&SYSUID
//********************************************************************//
//********* RUN THE SMF DUMP PROGRAM *********//
//********************************************************************//
//SMFTCOPY EXEC PGM=IFASMFDP
//SMFDATA DD DISP=SHR,DSN=SYSZ.SMF.SY3.WEEKLY.G3034V00
//SMFTEMPO DD DSN=SYS4UMT.SMF.DUMP,DISP=SHR
//* DISP=(NEW,CATLG,DELETE),UNIT=(SYSDA,30),
//* SPACE=(CYL,(90,90),RLSE),
//* DCB=(RECFM=V,LRECL=29000)
//ADUPRINT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
INDD(SMFDATA,OPTIONS(DUMP))
OUTDD(SMFTEMPO,TYPE(20,30,80,81,83))
/*
//********************************************************************//
//********* RUN RACF REPORT WRITER *********//
//********************************************************************//
//RACFRW2 EXEC PGM=IKJEFT01
//*SORTWKXX DD YOUR SORT WORK FILES
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//RSMFIN DD DISP=SHR,DSN=SYS4UMT.SMF.DUMP
//SYSTSIN DD DISP=SHR,DSN=SYS4UMT.SMF.JCL.CNTL(INPUT)
/*

The below message from SDSF log is pointing to a DD name of SORTIN, however, I don't have any such DD name defined in the JCL.
IEC030I B37-04,IFG0554A,SYS4UMTA,RACFRW2,SORTIN,E208,3T3001,SYS13243.T041837.RA

Appreciate if someone can assist me on this.

Let me know incase anymore info is needed.
Best Regards !
umeshm1985
 
Posts: 4
Joined: Mon Jun 27, 2011 9:04 pm
Has thanked: 0 time
Been thanked: 0 time

Re: B37 Abend for a DD statement that is not defined in the

Postby steve-myers » Sat Aug 31, 2013 4:41 pm

From the messages you provided.

IGD101I SMS ALLOCATED TO DDNAME (SORTIN )

A program can use dynamic allocation to create what amounts to a DD statement; this is what happened here.

TSO as we know it, could not function without dynamic allocation. One of the options with dynamic allocation is to specify the DD name the program wants, which is what happened here.

Another option, of course, is to let dynamic allocation create a DD name (usually SYSnnnnn) and return the DD name it chose to the program; the program copies the DD name selected by dynamic allocation to the DCB or ACB before it is opened. Many IBM programs provide a mechanism so the program that called the IBM program can specify an alternate DD name to use instead of the standard DD name. The sort program does not provide this mechanism, so the RACFRW program uses dynamic allocation to create a SORTIN DD statement. Obviously the data set it allocated is too small. I've never used the report writer, and I'm not willing to work my way through the manual to determine if there is a way to influence this data set size.

Good luck.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post