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

IEW2648E 5111 ENTRY VRBTGG IS NOT A CSECT OR AN EXTERNAL NAM


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
nivasaya

New User


Joined: 03 May 2007
Posts: 27
Location: India

PostPosted: Fri Feb 27, 2009 5:10 pm
Reply with quote

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

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Feb 27, 2009 5:31 pm
Reply with quote

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

New User


Joined: 03 May 2007
Posts: 27
Location: India

PostPosted: Fri Feb 27, 2009 6:04 pm
Reply with quote

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

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Feb 27, 2009 6:08 pm
Reply with quote

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

New User


Joined: 03 May 2007
Posts: 27
Location: India

PostPosted: Fri Feb 27, 2009 6:39 pm
Reply with quote

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
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts how to use Tso outtrap external function All Other Mainframe Topics 8
No new posts Multiple Entry PL/I & Assembler 5
No new posts Usage of external condition PL/I & Assembler 1
No new posts CLOB Column data to External File usi... DB2 9
No new posts Add delay in External stored procedure DB2 1
Search our Forums:

Back to Top