View previous topic :: View next topic
|
Author |
Message |
rammraju
New User
Joined: 05 Mar 2005 Posts: 65 Location: Hyderabad
|
|
|
|
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 |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
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 |
|
|
Earl
Active User
Joined: 17 Jun 2007 Posts: 148 Location: oklahoma
|
|
|
|
If spelling is correct
are you sure PGMA is enabled and is correctly defined with proper language type (cobol, assembler, C) |
|
Back to top |
|
|
nuthan
Active User
Joined: 26 Sep 2005 Posts: 146 Location: Bangalore
|
|
|
|
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 |
|
|
Harm10
New User
Joined: 13 Oct 2007 Posts: 10 Location: Holland
|
|
|
|
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 |
|
|
Earl
Active User
Joined: 17 Jun 2007 Posts: 148 Location: oklahoma
|
|
|
|
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 |
|
|
Harm10
New User
Joined: 13 Oct 2007 Posts: 10 Location: Holland
|
|
|
|
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........ |
|
Back to top |
|
|
|