Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Reply to: Cobol Program-ID
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: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Fri Feb 27, 2009 5:31 pm    Post subject:
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    Post subject:
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: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Fri Feb 27, 2009 6:08 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Automation of data entry using Rexx i... zingy.rajeev CLIST & REXX 4 Mon Aug 22, 2016 4:13 pm
This topic is locked: you cannot edit posts or make replies. Automation of data entry using Rexx i... zingy.rajeev CICS 0 Mon Aug 22, 2016 4:11 pm
No new posts Compiler option for override the exte... muralikrishnan_new COBOL Programming 9 Fri Jul 08, 2016 12:09 pm
No new posts How to pass a structure to external p... Pedro PL/I & Assembler 8 Tue Jan 19, 2016 7:05 am
No new posts Dynamic load a csect jerryte COBOL Programming 6 Thu Aug 13, 2015 11:57 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us