Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 UNIT=AFF for Easytrieve code gandikk JCL & VSAM 7 Wed Jul 12, 2017 11:42 pm
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm
No new posts Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us