|
|
| Author |
Message |
Nagendran
Active User
Joined: 24 Jan 2007 Posts: 73 Location: Trivandrum
|
|
|
|
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 |
|
 |
References
|
Posted: Fri May 18, 2007 1:59 pm Post subject: Re: IMS DB Call getting the statuc code AI |
 |
|
|
 |
rameshfoa
New User
Joined: 05 Apr 2007 Posts: 28 Location: chennai
|
|
|
|
| AI is due to error while opening ims dataset...make sure you have given proper ims files in required DD statements.. |
|
| Back to top |
|
 |
Bitneuker
IMS Moderator
Joined: 07 Nov 2005 Posts: 1130 Location: The Netherlands at Hole 19
|
|
|
|
| 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 |
|
 |
Devzee
Senior Member
Joined: 20 Jan 2007 Posts: 714 Location: Hollywood
|
|
|
|
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 |
|
 |
Nagendran
Active User
Joined: 24 Jan 2007 Posts: 73 Location: Trivandrum
|
|
|
|
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 |
|
 |
Bitneuker
IMS Moderator
Joined: 07 Nov 2005 Posts: 1130 Location: The Netherlands at Hole 19
|
|
|
|
| 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 |
|
 |
Bitneuker
IMS Moderator
Joined: 07 Nov 2005 Posts: 1130 Location: The Netherlands at Hole 19
|
|
|
|
| Devzee wrote: |
| George DB need not be a VSAM file it can be Sequential also. |
You mean GSAM? That's just a sequential database.  |
|
| Back to top |
|
 |
|
|