This is a Mainframe COBOL forum - you can post your queries on Mainframe COBOL, VS COBOL II, COBOL/370 , Enterprise COBOL
Moderators: dbzTHEdinosauer, Moderator Group
Joined: Wed Jul 22, 2009 5:08 pm
Someone can help me? The JCL doesnt find the copybooks in CICSVSAM.FONTES.CPY
What is worng??
//COMPCICS JOB (,PN),IBMUSER,MSGCLASS=X,
//* COMPILACAO DE PROGRAMA COBOL CICS - AINDA EM TESTE
//STEP01 EXEC PROC=IGYWCL
//SYSLIB DD DSN=CICSVSAM.FONTES.CPY,DISP=SHR
//COBOL.SYSIN DD DSN=CICSVSAM.FONTES.LIB(CICSMNU),DISP=SHR
//COBOL.SYSLIB DD DSN=CICSVSAM.FONTES.CPY,DISP=SHR
//LKED.SYSLMOD DD DSN=CICSVSAM.FONTES.LOAD(CICSMNU),DISP=SHR
// DD DSN=CICSTS23.CICS.SDFHCOB,DISP=SHR
//LKED.SYSIN DD *
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
IGYDS0010-S A "COPY" statement was found but the "LIB" compiler option was not in effect. Scanning was resumed at the item following the next period.
Joined: Fri Oct 10, 2008 12:57 pm
In our shop, we are using IGYCRCTL.
We dont use COBOL.SYSLIB.. as DD name.
we use only SYSLIB as DD name.
Try using PARM parameter in cobol compile jcl.
//COB EXEC PGM=IGYWCL,
Anuj Dhawan Moderator
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India
This is from the Manuals, emphasis added by me:
Message Format: IGYPP0010-S A "COPY" STATEMENT WAS FOUND BUT THE "LIB"
COMPILER OPTION WAS NOT SPECIFIED.
SCANNING WAS RESUMED AT THE ITEM FOLLOWING
THE NEXT PERIOD.
Description: COPY statements are honored by the compiler only if the
LIB compiler option is specified. In this case, a COPY
statement was found on the associated source line but the
LIB compiler option was not specified. The COPY statement
(and everything between the COPY statement and the next
appearance of a period) was ignored by the compiler.
User Action: If COPY statements are to be processed, specify the LIB
compiler option and recompile. IF COPY statements are not
to be processed, remove the indicated COPY statement.
Free tutorials from mainframegurukul
JCL Tutorial Covers all important JCL concepts.
Cobol Tutorial This tutorials covers all Cobol Topics from STRING to COMP-3.
DB2 Tutorial DB2 Tutorial focuses on DB2 COBOL Programming.
SORT Tutorial This Tutorial covers all important aspects of DFSORT with examples
CICS Tutorial This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Mainframe Interview questions
Mainframe Tools and others