Page 1 of 1

What is DD SYSIN for in LKED?

PostPosted: Tue Dec 04, 2007 5:06 am
by Tzadik Vanderhoof
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?

Re: What is DD SYSIN for in LKED?

PostPosted: Tue Dec 04, 2007 5:16 am
by Tzadik Vanderhoof
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.