View previous topic :: View next topic
|
Author |
Message |
ms0033436
New User
Joined: 20 Nov 2008 Posts: 15 Location: Pune
|
|
|
|
Hello,
I have coded 2 cobol programs - PGM A & PGM B.
I am trying to call B in program A.
I have compiled program B using NODYNAM option - I got B.OBJ
Now i tried to compile program A without using any PARM parameter. ..
I think probably bydefault it will take NODYNAM option. - A.OBJ got created.
Then i tried to link both A.OBJ & B.OBJ using IEWL. But it gave MAXXC =12. I could not trace what might be the problem behind this. Also there are not error messages/dump produced for this job. Please correct me whether the process which i am following is correct or not?
Adding to the above:
i tried to compile and link sub program & main program separately but using NODYNAM for Subprogram .But this is also not working.
Can anyone help me this?
Note: Both A & B are plain COBOL programs |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
IEWL error message are output in the SYSPRINT DD statement along with other details about what happened. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Are you using the standard compile and link jcl for your system or did you make some up on your own? If you are not using the standard compile/link jcl, do so and then post any problems here. |
|
Back to top |
|
|
ms0033436
New User
Joined: 20 Nov 2008 Posts: 15 Location: Pune
|
|
|
|
I have made my own compile & link JCL. Till now we were using changeman. |
|
Back to top |
|
|
ms0033436
New User
Joined: 20 Nov 2008 Posts: 15 Location: Pune
|
|
|
|
Even though i used SYSPRINT
& sysout .......there are no messages displayed in spool. The below is the jcl which i have used:-
//STEP1 EXEC PGM=IEWL
//SYSLIB DD DSN=SYS1.SCEELKED,DISP=SHR
//SYSLMOD DD DSN=xxxxxx.NONPROJ.LOD1,
// DISP=SHR
//SYSUT1 DD UNIT=SYSALLDA,DCB=BLKSIZE=1024,
// SPACE=(CYL,(1,1))
//SYSTERM DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSLIN1 DD DSN=xxxxxx.NONPROJ.OBJ1,DISP=SHR
//SYSLIN2 DD DSN=xxxxxx.NONPROJ.OBJ2,DISP=SHR
//SYSIN DD DUMMY |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
SYSLIN1 and SYSLIN2 are not standard DD names for IEWL. So unless you give instructions on how to handle them in SYSIN, IEWL is going to completely and totally ignore them -- so you have no input to the linkage editor, which implies no output as well.
The usual and normal way is
Code: |
//SYSLIN DD <object module>
// DD DDNAME=SYSIN |
but since you're coding your own process, you probably don't need to know that. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
I have made my own compile & link JCL. Till now we were using changeman. |
If Changeman is no longer being used, there is new standard compile jcl which you should use - not something of your own. . . |
|
Back to top |
|
|
|