compile error in cobol
Moderators: dbzTHEdinosauer, Moderator Group
compile error in cobol
hi,
i have used the following jcl for compilation
//UISC1AA JOB CLASS=A,
// MSGLEVEL=(1,1),
// NOTIFY=&SYSUID
//****************************************************.
//STEP1 EXEC IGYWCL
//STEPLIB DD DSN=SYS1.IGY.SIGYCOMP,DISP=SHR
//COBOL.SYSIN DD DSN=TDX2.INPUT.COBOL(INPUT1),DISP=SHR
//LKED.SYSLMOD DD DSN=TDX2.LOAD.COBOL,DISP=SHR
//SYSIN DD *
//
the error i received is
E1 8 DSS20028E DATA SET 'SYS1.IGY.SIGYCOMP' WAS NOT FOUND IN CATALOG
could some one help me.
fyi
//IGYWCL PROC LNGPRFX='SYS1.IGY',SYSLBLK=3200,
// LIBPRFX='SYS1.CEE',
// PGMLIB='&&GOSET',GOPGM=GO
//*
//********************************************************************
//* *
//* IBM COBOL FOR OS/390 & VM *
//* VERSION 2 RELEASE 1 MODIFICATION 0 *
//* *
//* LICENSED MATERIALS - PROPERTY OF IBM *
//* *
//* 5648-A25 (C) COPYRIGHT IBM CORP. 1991, 1997 *
//* ALL RIGHTS RESERVED *
//* *
//* US GOVERNMENT USERS RESTRICTED RIGHTS - USE, DUPLICATION OR *
//* DISCLOSURE RESTRICTED BY GSA ADP SCHEDULE CONTRACT WITH IBM *
//* CORP. *
//* *
//********************************************************************
//*
//* COMPILE AND LINK EDIT A COBOL PROGRAM
//*
//* PARAMETER DEFAULT VALUE USAGE
//* LNGPRFX IGY.V2R1M0 PREFIX FOR LANGUAGE DATA SET NAMES
//* SYSLBLK 3200 BLOCKSIZE FOR OBJECT DATA SET
//* LIBPRFX CEE PREFIX FOR LIBRARY DATA SET NAMES
//* PGMLIB &&GOSET DATA SET NAME FOR LOAD MODULE
//* GOPGM GO MEMBER NAME FOR LOAD MODULE
//*
//* CALLER MUST SUPPLY //COBOL.SYSIN DD ...
//*
//COBOL EXEC PGM=IGYCRCTL,REGION=2048K
//STEPLIB DD DSNAME=&LNGPRFX..SIGYCOMP,
--STEPLIB DD DSNAME=SYS1.IGY.SIGYCOMP,
// DISP=SHR
$/STEPLIB DD DSN=SYS1.IGY.SIGYCOMP,DISP=SHR
- DSS20028E - DATA SET 'SYS1.IGY.SIGYCOMP' WAS NOT FOUND IN CATALOG.
//SYSPRINT DD SYSOUT=*
//SYSLIN DD DSNAME=&&LOADSET,UNIT=SYSDA,
// DISP=(MOD,PASS),SPACE=(TRK,(3,3)),
// DCB=(BLKSIZE=&SYSLBLK)
-- DCB=(BLKSIZE=3200)
//SYSUT1 DD UNIT=SYSDA,SPACE=(CYL,(1,1))
//SYSUT2 DD UNIT=SYSDA,SPACE=(CYL,(1,1))
//SYSUT3 DD UNIT=SYSDA,SPACE=(CYL,(1,1))
//SYSUT4 DD UNIT=SYSDA,SPACE=(CYL,(1,1))
//SYSUT5 DD UNIT=SYSDA,SPACE=(CYL,(1,1))
//SYSUT6 DD UNIT=SYSDA,SPACE=(CYL,(1,1))
//SYSUT7 DD UNIT=SYSDA,SPACE=(CYL,(1,1))
$/COBOL.SYSIN DD DSN=TDX2.INPUT.COBOL(INPUT1),DISP=SHR
--- END OF STEP ---
//LKED EXEC PGM=HEWL,COND=(8,LT,COBOL),REGION=1024K
//SYSLIB DD DSNAME=&LIBPRFX..SCEELKED,
--SYSLIB DD DSNAME=SYS1.CEE.SCEELKED,
// DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSLIN DD DSNAME=&&LOADSET,DISP=(OLD,DELETE)
// DD DDNAME=SYSIN
//SYSLMOD DD DSNAME=&PGMLIB(&GOPGM),
--SYSLMOD DD DSNAME=&&GOSET(GO),
// SPACE=(TRK,(10,10,1)),
// UNIT=SYSDA,DISP=(MOD,PASS)
$/LKED.SYSLMOD DD DSN=TDX2.LOAD.COBOL,DISP=SHR
//SYSUT1 DD UNIT=SYSDA,SPACE=(TRK,(10,10))
$/SYSIN DD *
--- END OF STEP ---
--- END OF PROC ---
- END OF JOB ---
i have used the following jcl for compilation
//UISC1AA JOB CLASS=A,
// MSGLEVEL=(1,1),
// NOTIFY=&SYSUID
//****************************************************.
//STEP1 EXEC IGYWCL
//STEPLIB DD DSN=SYS1.IGY.SIGYCOMP,DISP=SHR
//COBOL.SYSIN DD DSN=TDX2.INPUT.COBOL(INPUT1),DISP=SHR
//LKED.SYSLMOD DD DSN=TDX2.LOAD.COBOL,DISP=SHR
//SYSIN DD *
//
the error i received is
E1 8 DSS20028E DATA SET 'SYS1.IGY.SIGYCOMP' WAS NOT FOUND IN CATALOG
could some one help me.
fyi
//IGYWCL PROC LNGPRFX='SYS1.IGY',SYSLBLK=3200,
// LIBPRFX='SYS1.CEE',
// PGMLIB='&&GOSET',GOPGM=GO
//*
//********************************************************************
//* *
//* IBM COBOL FOR OS/390 & VM *
//* VERSION 2 RELEASE 1 MODIFICATION 0 *
//* *
//* LICENSED MATERIALS - PROPERTY OF IBM *
//* *
//* 5648-A25 (C) COPYRIGHT IBM CORP. 1991, 1997 *
//* ALL RIGHTS RESERVED *
//* *
//* US GOVERNMENT USERS RESTRICTED RIGHTS - USE, DUPLICATION OR *
//* DISCLOSURE RESTRICTED BY GSA ADP SCHEDULE CONTRACT WITH IBM *
//* CORP. *
//* *
//********************************************************************
//*
//* COMPILE AND LINK EDIT A COBOL PROGRAM
//*
//* PARAMETER DEFAULT VALUE USAGE
//* LNGPRFX IGY.V2R1M0 PREFIX FOR LANGUAGE DATA SET NAMES
//* SYSLBLK 3200 BLOCKSIZE FOR OBJECT DATA SET
//* LIBPRFX CEE PREFIX FOR LIBRARY DATA SET NAMES
//* PGMLIB &&GOSET DATA SET NAME FOR LOAD MODULE
//* GOPGM GO MEMBER NAME FOR LOAD MODULE
//*
//* CALLER MUST SUPPLY //COBOL.SYSIN DD ...
//*
//COBOL EXEC PGM=IGYCRCTL,REGION=2048K
//STEPLIB DD DSNAME=&LNGPRFX..SIGYCOMP,
--STEPLIB DD DSNAME=SYS1.IGY.SIGYCOMP,
// DISP=SHR
$/STEPLIB DD DSN=SYS1.IGY.SIGYCOMP,DISP=SHR
- DSS20028E - DATA SET 'SYS1.IGY.SIGYCOMP' WAS NOT FOUND IN CATALOG.
//SYSPRINT DD SYSOUT=*
//SYSLIN DD DSNAME=&&LOADSET,UNIT=SYSDA,
// DISP=(MOD,PASS),SPACE=(TRK,(3,3)),
// DCB=(BLKSIZE=&SYSLBLK)
-- DCB=(BLKSIZE=3200)
//SYSUT1 DD UNIT=SYSDA,SPACE=(CYL,(1,1))
//SYSUT2 DD UNIT=SYSDA,SPACE=(CYL,(1,1))
//SYSUT3 DD UNIT=SYSDA,SPACE=(CYL,(1,1))
//SYSUT4 DD UNIT=SYSDA,SPACE=(CYL,(1,1))
//SYSUT5 DD UNIT=SYSDA,SPACE=(CYL,(1,1))
//SYSUT6 DD UNIT=SYSDA,SPACE=(CYL,(1,1))
//SYSUT7 DD UNIT=SYSDA,SPACE=(CYL,(1,1))
$/COBOL.SYSIN DD DSN=TDX2.INPUT.COBOL(INPUT1),DISP=SHR
--- END OF STEP ---
//LKED EXEC PGM=HEWL,COND=(8,LT,COBOL),REGION=1024K
//SYSLIB DD DSNAME=&LIBPRFX..SCEELKED,
--SYSLIB DD DSNAME=SYS1.CEE.SCEELKED,
// DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSLIN DD DSNAME=&&LOADSET,DISP=(OLD,DELETE)
// DD DDNAME=SYSIN
//SYSLMOD DD DSNAME=&PGMLIB(&GOPGM),
--SYSLMOD DD DSNAME=&&GOSET(GO),
// SPACE=(TRK,(10,10,1)),
// UNIT=SYSDA,DISP=(MOD,PASS)
$/LKED.SYSLMOD DD DSN=TDX2.LOAD.COBOL,DISP=SHR
//SYSUT1 DD UNIT=SYSDA,SPACE=(TRK,(10,10))
$/SYSIN DD *
--- END OF STEP ---
--- END OF PROC ---
- END OF JOB ---
-
- Moderator
- Posts: 1625
- Joined: Sat Aug 09, 2008 9:02 am
- Location: Mumbai, India
Why do you say this? This does not make any sense per the error message sasanka is getting.himuengg wrote:this is because 'SYS1.IGY.SIGYCOMP' is not available on disk. use HRECALL and try to recall this dataset. and then resubmit ur job !!
sasanka - every shop does have it's own edit/compile JCLs. Are you not using the standard compile JCLs?If not, You should get in touch with your support to get such a JCL. I, for one, can give you a compile JCL but then you should not be using such a JCL from a Forum!
Regards,
Anuj
Anuj
Anuj Dhawan wrote:Why do you say this? This does not make any sense per the error message sasanka is getting.himuengg wrote:this is because 'SYS1.IGY.SIGYCOMP' is not available on disk. use HRECALL and try to recall this dataset. and then resubmit ur job !!
sasanka - every shop does have it's own edit/compile JCLs. Are you not using the standard compile JCLs?If not, You should get in touch with your support to get such a JCL. I, for one, can give you a compile JCL but then you should not be using such a JCL from a Forum!
what u do mean by standard jcl for a cobol compilation?
@Anuj/Sasanka: I agree , when i looked at some standard compile jcls, i found that this compile utility is used rarely.Maybe Sasanka can contact his system admin or system support personnels to know the exact reason.Anuj, i doubt your standard compile jcl would work on his system, as it will have to supported by the environment that Sasanka is using. I m sorry for my earlier replies, i dint see that its a compile JCL
-
- Moderator
- Posts: 1625
- Joined: Sat Aug 09, 2008 9:02 am
- Location: Mumbai, India
A standard JCL is the one, from the perspective of the thread, which is used by all the programmers at your shop to compile the Programs. A JCL - which qualifies all the rules set-up by your shop and your admins.what u do mean by standard jcl for a cobol compilation?
PS.: I can't get more laymen...
Regards,
Anuj
Anuj
-
- Moderator
- Posts: 1625
- Joined: Sat Aug 09, 2008 9:02 am
- Location: Mumbai, India
Yes, that's correct - it may or may-not work. And mostly, it'll not. That's why in my previous post - I asked him to use the "standard compile JCL" at his shop and not something which is available on net.himuengg wrote:Anuj, i doubt your standard compile jcl would work on his system, as it will have to supported by the environment that Sasanka is using.(
Regards,
Anuj
Anuj
FREE TUTORIALS
Tutorials
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.
Interview
Mainframe Interview questions
- Cobol Interview Questions
50+ Interview Questions - JCL Interview Questions
50+ Interview Questions - DB2 Interview Questions
100+ Interview Questions - CICS Interview Questions
70+ Interview Questions - VSAM Interview Questions
27 Interview Questions
Other References
Mainframe Tools and others
- XPEDITER Reference
Explains how we can debug a program - FILEAID Reference
Explains how to browse , edit and delete datasets - Change Man Reference
Quick Start tutorial on Changeman - Abend Reference
Important Abend codes explained - FaceBook Page
MainframeGurukul FaceBook Page - LinkedIn Page
MainframeGurkul Linkedin Page