What is DD SYSIN for in LKED?



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

What is DD SYSIN for in LKED?

Postby Tzadik Vanderhoof » Tue Dec 04, 2007 5:06 am

When I use the compile/link proc "IGYWCL", I get the warning
DDNAME REFERRED TO ON DDNAME KEYWORD IN PRIOR STEP WAS NOT RESOLVED

and I tracked it down to the LKED step which has:
XXSYSLIN   DD  DSNAME=&&LOADSET,DISP=(OLD,DELETE)
XX         DD  DDNAME=SYSIN             

What is the purpose of this SYSIN? It can't be for subprograms, because that's SYSLIB.

I can eliminate the warning by coding
//LKED.SYSIN DD DUMMY


but I'm still curious as to the purpose of it.

And even if there would be some reason you would want to concatenate to SYSLIN, that PROC doesn't need that SYSIN because you can could concatenate anyway using
//SYSLIN DD
//      DD DSN=something_to_concatenate


so the whole thing is curious. Any insight?
Tzadik Vanderhoof
 
Posts: 21
Joined: Tue Nov 13, 2007 11:53 pm
Has thanked: 0 time
Been thanked: 0 time

Re: What is DD SYSIN for in LKED?

 

Re: What is DD SYSIN for in LKED?

Postby Tzadik Vanderhoof » Tue Dec 04, 2007 5:16 am

OK... I discovered a bit about SYSIN... it lets you concatenate subprogram object modules without having them be in a PDS with a member of the same name as the subprogram. But the question still remains of why they did it that way, when you could just as well concatenate it yourself like I showed in my first post. Especially considering that they don't provide a similar facility for concatenating to SYSLIB, which is more common.
Tzadik Vanderhoof
 
Posts: 21
Joined: Tue Nov 13, 2007 11:53 pm
Has thanked: 0 time
Been thanked: 0 time


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post