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

Program defined in PCT/PPT, still giving AEI0


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rammraju

New User


Joined: 05 Mar 2005
Posts: 65
Location: Hyderabad

PostPosted: Wed Oct 17, 2007 6:43 pm
Reply with quote

Hi all,
Is it possible that
You do a CEMT inquire on a program PGMA and you are able to see it, But when your cobol+CICS program tries to call PGMA inside it, it gives a AEI0.

Thanks in advance,
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Wed Oct 17, 2007 6:59 pm
Reply with quote

rammraju wrote:
Is it possible that You do a CEMT inquire on a program PGMA and you are able to see it, But when your cobol+CICS program tries to call PGMA inside it, it gives a AEI0.
Yes....
Two things, CEDF the program and check the spelling and padding being handed to CICS.....And find the RESP2 value and check the manual for what sub-condition the PGMIDERR is having....
Back to top
View user's profile Send private message
Earl

Active User


Joined: 17 Jun 2007
Posts: 148
Location: oklahoma

PostPosted: Wed Oct 17, 2007 10:26 pm
Reply with quote

If spelling is correct
are you sure PGMA is enabled and is correctly defined with proper language type (cobol, assembler, C)
Back to top
View user's profile Send private message
nuthan

Active User


Joined: 26 Sep 2005
Posts: 146
Location: Bangalore

PostPosted: Thu Oct 18, 2007 10:39 am
Reply with quote

Quote:
when your cobol+CICS program tries to call PGMA inside it, it gives a AEI0.


Have you checked these COBOL+CICS program and PGMA are propertly defined in PPT and PCT.
Back to top
View user's profile Send private message
Harm10

New User


Joined: 13 Oct 2007
Posts: 10
Location: Holland

PostPosted: Mon Oct 22, 2007 2:49 am
Reply with quote

Have you checked the call to the program is between quotes?
Otherwise CICS thinks you want to call the program which value is contained in your variable.
E.g EXEC CICS LINK PROGRAM('PGMA') and EXEC CICS LINK PROGRAM(PGMA)
Back to top
View user's profile Send private message
Earl

Active User


Joined: 17 Jun 2007
Posts: 148
Location: oklahoma

PostPosted: Mon Oct 22, 2007 7:21 pm
Reply with quote

Harm10
FYI
if PGMA was coded without quotes, he would be getting a compile error,

unless PGMA is defined in working storage.



rammraju

Are you still having this problem?
Back to top
View user's profile Send private message
Harm10

New User


Joined: 13 Oct 2007
Posts: 10
Location: Holland

PostPosted: Mon Oct 22, 2007 8:42 pm
Reply with quote

Earl wrote:
Harm10
FYI
if PGMA was coded without quotes, he would be getting a compile error,

unless PGMA is defined in working storage.

I already knew that but thanks for pointing it out anyway........ icon_cool.gif
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 -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts EZT program to build a flat file with... All Other Mainframe Topics 9
Search our Forums:

Back to Top