Joined: 08 Jan 2014 Posts: 3 Location: Bangalore,India
Hi! when i'm executing a cobol code its giving the warning as 'A required compiler work file, "SYSUT1 ", was not allocated'.Plz suggest me whats wrong with my compiler.
//IBM1B2GT JOB (T00101,950,O195000,000,000,000),'SRS',PRTY=5,
// MSGCLASS=G,MSGLEVEL=(1,1),REGION=0M,NOTIFY=&SYSUID
/*JOBPARM P=PROC02,T=(5),H=ALL,L=399,S=ESYS
//*-------------------------------------------------------------*
//* C O B O L C O M P I L E J C L *
//*-------------------------------------------------------------*
//* SYSIN = WHERE THE SOURCE MODULE IS LOCATED *
//* SYSLMOD = WHERE THE OBJECT MODULE IS TO BE LOCATED *
//*-------------------------------------------------------------*
//*NET ID=10951,AB=D
//COBOL EXEC PGM=IGYCRCTL,REGION=400K,
// PARM='LIB,APOST,XREF,MAP'
//STEPLIB DD DSN=SYS1.ADCOBA.SIGYCOMP,DISP=SHR
//COBOL.SYSIN DD DSN=IBM1B2G.ECOBOL.COMP(ECOBMV),DISP=SHR
//LKED.SYSLIB DD DISP=SHR,DSN=IBM1B2G.ECOBOL.COMP(SUBCOB)
//LKED.SYSLMOD DD DISP=SHR,DSN=IBM1B2G.ECOBOL.COMP(NUMERMOV)
//SYSOUT DD SYSOUT=*
//SYSTERM DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSDEBUG DD SYSOUT=A
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
Hello and welcome to the forum,
Every system has standard compile/link/bind processes. You need to use these instead of something you created or pulled from somewhere on the internet.
Please do NOT post screenshots. They do not work well and waste considerable space on the forum. Best to use copy/paste and apply the Code tag. There is a Preview funcstion so you can see how your post will appear to the forum. Once you have the post as you want it, Submit.
Joined: 10 May 2007 Posts: 2454 Location: Hampshire, UK
If youi really want to know what the JCL for the compiler is and does then read the Programming Guide where each JCL statement that is, or may be, required is described.
That word 'SYSDA' is a site-defined word that means something like 'disk storage' because it's defined in a list here. Yours will probably be something different.
If I were sitting in your chairr, I would start looking at some sort JCL to see what they use for SORTWK DDs. They will have something similar and you can probably copy it over to your compile JCL.
It seems that you need some futher advice. The JCL you are showing contains some overrides. Overrides are normally used to override or add JCL statements to procedures. You are not executing a procedure.
Why not have a look at the standard procedure IGYWCL, supplied by IBM, and do the necessary overrides. Comments in the procedure tells you what to do.
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
Hello,
Quote:
finally i executed the cobol code with my compile jcl...
Is this for a class?
If not, you should NOT use your own jcl - you should use the standard jcl for the system that all of the developers use.
Several places i have supported will terminate people who will not follow the standards . . . There is no good reason to use your own jcl for "real" work.