I cannot figure out how to get my own PDS Macro library, I am using 6.4, z/OS, my job abends with a 0c4 and the system is not finding/using my PANDD statement, I found in these forums to look at eztpopt but it looks like assembler code, I do not have a panvalet library. I just want to use the same file definition for all jobs. My ezt.include has a file named cdbdef with macro on line 1. I have tried inserting MACDDN and MAC#LIB statements in the JCL but they error out I guess because I have not figured out where they actually get placed in the JCL. I have read users and reference guides, they mention it all but do not get included in any examples. Please tell me what is missing in my JCL. Thanks in advance.
*******B006 MACRO SYSTEM - PAN , PM015 DD CARD MISSING PANDD1*
1 %CDBDEF
2 JOB INPUT CDBREC NAME ENV-REPORTS
2 *******B082 NAME IS UNDEFINED - CDBREC
*************************** BOTTOM OF DATA **************************
Here is my JCL
/STEP02 EXEC PGM=EZTPA00,REGION=6M
/STEPLIB DD DSN=IDCSHR.EASYPLUS,DISP=SHR
/SYSOUT DD SYSOUT=*
/SYSUDUMP DD DUMMY
/EZTVFM DD UNIT=DISK,SPACE=(4096,(500,500),,,ROUND)
/SYSPRINT DD SYSOUT=*
/*DBREC DD DSN=DHSC.R8300522.UPK1(0),UNIT=CART,DISP=SHR
/CDBREC DD DSN=DHS9002.RESEARCH.SAMP0116,DISP=SHR
/PANDD DD DSN=DHS9002.EZT.INCLUDE,DISP=SHR
/DATAOUT DD DSN=DHS9002.FILES.EZT011X,
/ UNIT=DISK,
/ DISP=(NEW,CATLG,DELETE),
/ SPACE=(CYL,(100,15),RLSE),
/ DCB=(LRECL=136,BLKSIZE=30600,RECFM=FB)
/*
%CDBDEF
JOB INPUT CDBREC NAME ENV-REPORTS