Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Invalid Entry point for a Rexx link edit

Status
Not open for further replies.

MikeV0

Programmer
Mar 27, 2003
3
GB
Hi,

I have a problem compiling Rexx on MVS using a system generated temporary dataset as the SYSIN. The compile works fine, however the SYSPUNCH output gives the last qualifier of the temporary dataset as the ENRTY point for a
link edit, therefore when I try to link edit I get errors because the ENTRY point should be the name of the file.

Is there a way to specify the name of the file to be used as the ENTRY point for a link edit in the compile?

Thanks in advance

Mike.
 
I just need to know if there is a way I can specify the file name to use as the ENTRY point for the link edit during the REXX compile, if this definately cant be done I will work around it by running an additional step to rename the tempoary dataset, although would prefer to keep it tidy if possible.

Unfortunately the temporary file has to be system generated, otherwise I could just hard code the SYSIN and would not have a problem.

cheers,

Mike.
 
Could you not just code a NAME on the linkedit?

//LKED EXEC PGM=IEWL,PARM=(XREF,LET,LIST,NCAL)
//SYSLIN DD DSN=&&OBJSET,DISP=(OLD,DELETE)
// DD DDNAME=SYSIN
//SYSLMOD DD DSN=your.loadlib,DISP=SHR
//SYSUT1 DD DSN=&&SYSUT1,UNIT=SYSDA,
// SPACE=(1024,(50,20))
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
NAME TENQ(R)
 
Hi,

Thanks for the reply, I currently do code a NAME on the link edit but this does not work.

As the code has already compiled and does not include the right name of the file as the ENRTY point the link edit will not work, so I need a solution involving the compile.

cheers,

Mike.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top