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

Getting AJ while doing a ISRT


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
chanti

New User


Joined: 22 Nov 2008
Posts: 30
Location: hyderabad

PostPosted: Tue May 25, 2010 2:59 pm
Reply with quote

Hi,

When iam trying to insert a segment occurence in the Database using Qualified SSA, iam getting status code AJ

When i refer to the manuals it says..its an INVALID SSA

But when iuse for retrieving data using GN or GU its working fine

can any body put some light into it?


Thanks,
Chanti
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10903
Location: italy

PostPosted: Tue May 25, 2010 3:17 pm
Reply with quote

the fact that it worked for a GN or a GU does not imply it should work for an ISRT
Back to top
View user's profile Send private message
chanti

New User


Joined: 22 Nov 2008
Posts: 30
Location: hyderabad

PostPosted: Tue May 25, 2010 3:42 pm
Reply with quote

Hi,

I am new to ims programming.

I was trying to insert a segment occurence into the databse which looks like

LOCATION SMAMYC -- Parent
.AREADET 111111XEXEXEXEXEXE - Child

My intention is to create/insert another segment occurence under Parent
Location

Like
LOCATION SMAMYC
.AREADET 111111XEXEXEXEXEXE
.AREADET 222222YYYYYYYYYYYYY -- To be inserted


For this purpose in my Cobol program, first i have issued a GU call using Qualified SSA(for Location) and then issued a ISRT call using Qualified SSA(for AREADET)

For which iam getting status Code AJ
When i have displayed the SSA, it looks as below
AREADET (ARNO =222222)

Can anybody point the error which i was doing?

Thanks,
Chanti.
Back to top
View user's profile Send private message
murugan_mf

Active User


Joined: 31 Jan 2008
Posts: 148
Location: Chennai, India

PostPosted: Wed May 26, 2010 11:59 am
Reply with quote

HI,
Here you need to give unqualified SSA for AREADET
Back to top
View user's profile Send private message
chanti

New User


Joined: 22 Nov 2008
Posts: 30
Location: hyderabad

PostPosted: Wed May 26, 2010 12:18 pm
Reply with quote

Hi Murugan,

You are right, need to give an unqualified SSA for that, it worked.

Thanks,
Chanti.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts ISRT fails IMS DB/DC 3
No new posts DC: ISRT CALL IMS DB/DC 1
No new posts IMS DB - Is GHU call needed for ISRT ... IMS DB/DC 27
No new posts ISRT Problem using IMS DB test utilit... IMS DB/DC 1
No new posts COBOL APP to fetch data from FLAT FIL... IMS DB/DC 1
Search our Forums:


Back to Top