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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts Speed-up/reduce CPU use of code prino PL/I & Assembler 0 Tue Sep 26, 2017 12:05 am
This topic is locked: you cannot edit posts or make replies. how to code for GDG in Rexx cvnlynn CLIST & REXX 13 Wed Aug 09, 2017 9:13 pm
This topic is locked: you cannot edit posts or make replies. rexx code to create a ps file Bharath Vikraman CLIST & REXX 4 Mon Aug 07, 2017 10:30 am
No new posts I want to retire TRX and use only Rex... Abhinav Sharma CLIST & REXX 6 Sat Jul 29, 2017 2:53 am

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