I would suggest you also join the Cobol language news group
To post to this group, send email to comp.lang.cobol@googlegroups.com
or
visit http://groups.google.com/group/comp.lang.cobol?hl=en
You did not state the operating system you are running under
(z/OS V1.??) or the version of Cobol you are using..
Basically, look at the JCL that is created. Depending on
your compiler JCL, it may go to a temp data set. I would review the JCL
expansion and see what is happening.
You can get to this link to see what this procedure does
or the Cobol library on the IBM website
Language Guide http://publibfp.boulder.ibm.com/epubs/pdf/igy3lr40.pdf
Programmer’s Guide http://publibfp.boulder.ibm.com/epubs/pdf/igy3pg40.pdf
But basically because the procedure ends in a “C” it
mean compile only. So it is more or less a way to compile your source
without executing it to find any errors you may have when you coded the source.
Your JCL should look something like this
//IGYWC
PROC LNGPRFX='IGY.V3R4M0',SYSLBLK=3200
//*
//* COMPILE
A COBOL PROGRAM
//*
//*
PARAMETER DEFAULT VALUE USAGE
//*
SYSLBLK
3200
BLKSIZE FOR OBJECT DATA SET
//*
LNGPRFX IGY.V3R4M0 PREFIX FOR
LANGUAGE DATA SET NAMES
//*
//* CALLER
MUST SUPPLY //COBOL.SYSIN DD . . .
//*
//COBOL
EXEC PGM=IGYCRCTL,REGION=2048K
//STEPLIB
DD
DSNAME=&LNGPRFX..SIGYCOMP,
(1)
//
DISP=SHR
//SYSPRINT
DD SYSOUT=*
//SYSLIN
DD DSNAME=&&LOADSET,UNIT=SYSDA,
//
DISP=(MOD,PASS),SPACE=(TRK,(3,3)),
//
DCB=(BLKSIZE=&SYSLBLK)
//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))
(2)
//SYSUT6
DD UNIT=SYSDA,SPACE=(CYL,(1,1))
//SYSUT7
DD UNIT=SYSDA,SPACE=(CYL,(1,1))
(1) STEPLIB
can be installation-dependent.
(2) SYSUT5 is needed only if the LIB option is used.
Lizette
From:
os390andmvs@yahoogroups.com [mailto:os390andmvs@yahoogroups.com] On Behalf
Of marcilium
Sent: Wednesday, March 26, 2008 5:39 AM
To: os390andmvs@yahoogroups.com
Subject: [SPAM][OS390 and MVS] IGYWC Cobol Compile Procedure
Someone knows where the compiled program goes
after executed procedure
IGYWC?
Thanks