IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Overriding SYSIN & SYSLIB in IGYWCL


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
h.dinesh

New User


Joined: 06 Dec 2006
Posts: 46
Location: Chennai

PostPosted: Thu Apr 26, 2007 6:55 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Apr 26, 2007 8:08 pm
Reply with quote

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
View user's profile Send private message
h.dinesh

New User


Joined: 06 Dec 2006
Posts: 46
Location: Chennai

PostPosted: Mon Jun 04, 2007 7:50 pm
Reply with quote

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 icon_confused.gif . Can you please give an example where this is/can be used?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Jun 04, 2007 8:53 pm
Reply with quote

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
View user's profile Send private message
h.dinesh

New User


Joined: 06 Dec 2006
Posts: 46
Location: Chennai

PostPosted: Tue Jun 05, 2007 11:29 am
Reply with quote

Thanks Dick, I will try to follow up with the support people over here.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Generate output lines (SYSIN card for... DFSORT/ICETOOL 4
No new posts COBOL reading from SYSIN COBOL Programming 1
No new posts AN OVERRIDE MAY NOT TARGET OVERRIDING... JCL & VSAM 1
No new posts concatenate sysin to dsn JCL & VSAM 7
No new posts "Standard" SYSIN, SYSPRINT ... PL/I & Assembler 0
Search our Forums:

Back to Top