View previous topic :: View next topic
|
Author |
Message |
nivasaya
New User
Joined: 03 May 2007 Posts: 27 Location: India
|
|
|
|
Dear Team,
I have PGM NAME as VRBTGG -- PDS Member Name
PROGRAM ID MQACQQ
I tried to compile in my system and I got the below error.
IEW2648E 5111 ENTRY VRBTGG IS NOT A CSECT OR AN EXTERNAL NAME IN THE MODULE.
Where VRBTGG is my program name.
COMPILE STEP - Successfully compiled
LINK Edit STEP - NOT Successfully LINK Edited.
Ques 1: How to Compile & Link Edit Successfully?
Ques 2:What are the NAMEs we should give in COMPILE - IKFCBL00 and LINk EDIT - IEWL STEP?
Thanks for you support,
Warm Regards,
Nivasaya |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
First, you should have opened a new thread rather than responding to one that's been inactive for almost 2 years.
Second, the PDS member name has nothing to do with the PROGRAM ID or linkage editor (binder) processing. Do not put it as an ENTRY name in your linkage editor input.
Third, it would be helpful to see what your LKED.SYSIN statements are; most simple compile and links do not require SYSIN statements. If you have to have them, change ENTRY VRBTGG to ENTRY MQACQQ.
Quote: |
Where VRBTGG is my program name. |
No, that is your PDS member name. Your program name is the value in the PROGRAM-ID statement of your program. |
|
Back to top |
|
|
nivasaya
New User
Joined: 03 May 2007 Posts: 27 Location: India
|
|
|
|
Dear Robert & team,
My apologies to Robert and Team, going forward will create a new thread for my upcoming queries.
Changed accordingly as suggested by Robert and Compiled & Linked successfully.
Thanks a lot Robert for your timely help.
My original JCL
Compile Step
//COB0001 DD PGM=IGYCRCTL
//SYSIN DD DSN=MY.PDS.NAME.SRCLIB(VRBTGG),DISP=SHR
//SYSLIN DD DSN=&LOAD0001,
// DISP=(,PASS), ….
//LKED001 EXEC PGM=IEWL
//SYSLIN DD DSN=&LOAD0001,
// DISP=(OLD,OLD,DELTE)
// DD DDNAME=SYSIN
//SYSLMOD DD DSN= MY.PDS.NAME.LOADLIB(VRBTGG),DISP=SHR
//SYSIN DD *
ENTRY VRBTGG
NAME VRBTGG(R)
The Above SYSIN I have changed to as suggested by Robert and Compiled & Linked successfully.
//SYSIN DD *
ENTRY MQACQQ
NAME MQACQQ (R) |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Glad to hear it worked ... although the ENTRY MQACQQ and NAME MQACQQ(R) statements are optional with the JCL you've posted -- the entry point will be MQACQQ automatically, and the name will be MQACQQ automatically since it's on your PROGRAM-ID statement. |
|
Back to top |
|
|
nivasaya
New User
Joined: 03 May 2007 Posts: 27 Location: India
|
|
|
|
Yes Robert, tried with No ENTRY MQACQQ and NAME MQACQQ(R) statements , it worked... it got compiled & Linked.
//SYSIN DD *
Thanks again Robert for you kind suppport and timely help.
Thanks & Regards,
Nivasaya |
|
Back to top |
|
|
|