IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

What is INIT call in IMS


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
G.S.Sekhar

New User


Joined: 19 Aug 2005
Posts: 5

PostPosted: Tue Nov 29, 2005 5:30 pm
Reply with quote

Can anybody explain about INIT call in IMS?
Back to top
View user's profile Send private message
iknow

Active User


Joined: 22 Aug 2005
Posts: 411
Location: Colarado, US

PostPosted: Thu Dec 01, 2005 5:23 am
Reply with quote

Hi Sekhar,


To my understanding INIT is a system service call to get the data availability status code

Please check this link for more information.
publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqzal.doc/imscall.htm

Hope this helps.
Back to top
View user's profile Send private message
itssreehere
Warnings : 1

New User


Joined: 10 Jan 2006
Posts: 65
Location: chennai

PostPosted: Wed Jan 11, 2006 7:16 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Call program, directly from panel CLIST & REXX 9
No new posts Batch call online program, EXCI task ... CICS 3
No new posts CSQBGET - Call giving completion code... COBOL Programming 3
No new posts CICS DPL call CICS 6
Search our Forums:

Back to Top