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
 

 

Program defined in PCT/PPT, still giving AEI0

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: Program defined in PCT/PPT, still giving AEI0
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: 2150
Location: At my coffee table

PostPosted: Wed Oct 17, 2007 6:59 pm    Post subject: Re: Program defined in PCT/PPT, still giving AEI0
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    Post subject:
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    Post subject:
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    Post subject: Reply to: Program defined in PCT/PPT, still giving AEI0
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts Join giving more records than expected Danielle.Filteau SYNCSORT 2 Thu Mar 09, 2017 3:28 am
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm


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