Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
IMS DB Call getting the statuc code AI

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
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    Post subject: IMS DB Call getting the statuc code AI
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    Post subject:
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: 1105
Location: The Netherlands at Hole 19

PostPosted: Fri May 18, 2007 5:38 pm    Post subject:
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    Post subject:
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    Post subject: Re: IMS DB Call getting the statuc code AI
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: 1105
Location: The Netherlands at Hole 19

PostPosted: Fri May 18, 2007 7:17 pm    Post subject:
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: 1105
Location: The Netherlands at Hole 19

PostPosted: Fri May 18, 2007 7:20 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DB2 Sql Error code -204 rohit_naidu DB2 5 Fri May 18, 2018 4:40 pm
No new posts using CALL PLIRETC(somevalu) Pedro PL/I & Assembler 1 Wed May 09, 2018 10:25 pm
No new posts Call COBOL or PLI with a click from w... vaibhav gs All Other Mainframe Topics 1 Mon Apr 16, 2018 7:29 pm
No new posts Getting GG return code abdulrafi IMS DB/DC 2 Tue Apr 10, 2018 12:31 pm
No new posts Print call stack in Mainframe C DIPANKAR SAHA ABENDS & Debugging 2 Thu Mar 15, 2018 2:58 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us