View previous topic :: View next topic
|
Author |
Message |
G.S.Sekhar
New User
Joined: 19 Aug 2005 Posts: 5
|
|
|
|
Can anybody explain about INIT call in IMS? |
|
Back to top |
|
|
iknow
Active User
Joined: 22 Aug 2005 Posts: 411 Location: Colarado, US
|
|
Back to top |
|
|
itssreehere Warnings : 1 New User
Joined: 10 Jan 2006 Posts: 65 Location: chennai
|
|
|
|
Before accessing a DB we use to check the status/availability of the database. Only if it is available we will proceed with further processing.
CALL 'CBLTDLI' USING INIT,i/o pcb,i/o_area
If the status after this call is ,
Blanks, which means that all of the databases are available.
NA, which means that at least one of the databases that can be accessed using this PCB is unavailable.
NU, which means that at least one of the databases that can be updated using this PCB is unavailable for update.
If you are using a calling chain init call should be used only in the main program. |
|
Back to top |
|
|
|