View previous topic :: View next topic
|
Author |
Message |
h.dinesh
New User
Joined: 06 Dec 2006 Posts: 46 Location: Chennai
|
|
|
|
Hi,
I have few doubts in cobol compiler proc IGYWCL.
To use this proc the cobol source program and copybook (if used) is specified using
Code: |
//COBOL.SYSIN DD
//COBOL.SYSLIB DD |
respectively, but I couldn't find SYSIN & SYSLIB in COBOL step of proc IGYWCL. So how are these being overridden?
Also, in link edit step LKED has got
Code: |
//SYSLIN DD DSNAME=&&LOADSET,DISP=(OLD,DELETE)
// DD DDNAME=SYSIN <--- second line |
I couldn't understand the second line. What it does?
For your reference the below link will take you to the compiler:
http://publib.boulder.ibm.com/infocenter/pdthelp/v1r1/index.jsp?topic=/com.ibm.entcobol3.doc/rpmvs06.htm |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
If a stepname.ddname is specified and the ddname is not already in the proc, it is added to the jcl of the step (you will want to get a copy of the jcl manual and store it locally for easy use - linked to from this site).
The ddname=sysin says that there will be a dd statement in the submitted jcl (not the proc) that has the ddname SYSIN. |
|
Back to top |
|
|
h.dinesh
New User
Joined: 06 Dec 2006 Posts: 46 Location: Chennai
|
|
|
|
Dick,
Thanks for the reply but I am not very clear with second query.
Quote: |
The ddname=sysin says that there will be a dd statement in the submitted jcl (not the proc) that has the ddname SYSIN. |
I can't think of any practical scenario where this will be useful . Can you please give an example where this is/can be used? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello Dinesh,
Look at other compiles at your location that use this PROC. Some (maybe all?) may have linkedt control info in the SYSIN for the LKED step.
It may be helpful to check with the people there who support the compilers and link editor. They should be able to explain the plan behind how this is configured in your environment. This can vary considerasble from place to place.
The way this would be used is to provide additional info to the linkedit step. |
|
Back to top |
|
|
h.dinesh
New User
Joined: 06 Dec 2006 Posts: 46 Location: Chennai
|
|
|
|
Thanks Dick, I will try to follow up with the support people over here. |
|
Back to top |
|
|
|