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

IMS DB Call getting the statuc code AI


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

New User


Joined: 24 Jan 2007
Posts: 89
Location: USA

PostPosted: Fri May 18, 2007 1:59 pm
Reply with quote

Hi,
I am trying to access the IMS DB that was newly created,it wont have any datas,when i try to insert data i am getting the statuc code AI.I have tested my Prog with PROCOPT with Both LS and AP. Its not working any body plz help me out with this issue.

Thanks,
Nagu
Back to top
View user's profile Send private message
rameshfoa

New User


Joined: 05 Apr 2007
Posts: 27
Location: chennai

PostPosted: Fri May 18, 2007 2:43 pm
Reply with quote

AI is due to error while opening ims dataset...make sure you have given proper ims files in required DD statements..
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Fri May 18, 2007 5:38 pm
Reply with quote

The database is a VSAM file. Before using it you have to open and close it. I used to do this with an IDCAMS reproing a dummy.
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Fri May 18, 2007 6:14 pm
Reply with quote

George DB need not be a VSAM file it can be Sequential also.

I guess DB may not have been initialized.

After creating new IMS Database initialization is required.
Back to top
View user's profile Send private message
Nagendran

New User


Joined: 24 Jan 2007
Posts: 89
Location: USA

PostPosted: Fri May 18, 2007 6:57 pm
Reply with quote

Thanks for all.

I havent... specified the VSAM dataset in my JCL,.

One doubt, In my database, only one segment with two search fields , i have to make a call based on this search fields.. is it possible to use '&&' symbol in an SSA,if yes give me an example.

Thanks,
Nagu
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Fri May 18, 2007 7:17 pm
Reply with quote

For SSA's look at the documentation like here. You might search there too for SSA and learn a lot about it.
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Fri May 18, 2007 7:20 pm
Reply with quote

Devzee wrote:
George DB need not be a VSAM file it can be Sequential also.


You mean GSAM? That's just a sequential database. icon_wink.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 -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Call program, directly from panel CLIST & REXX 9
Search our Forums:

Back to Top