Generic IMS subroutine
Posted: Mon Jul 11, 2011 4:33 pm
Hi ,
I have a requirement to seperate IMS database calls from the current existing programs and put it in subroutine which is a generic program to access
perticular database and it need to be in a way that it can handle all type of calls(GU,GN,ISRT,REPL,etc...) and all levels of segments(ROOT,LEVEL2......)
From mainprogram i will pass the type of call,if it is qualified i will pass required SSAs and subprogram need to evaluate these values and build the call
and access IMS database and finally it will return to the main program with return code and IO-AREA.
Can any one please help me how to handle these things in subprogram.
Regards,
Ramesh.
I have a requirement to seperate IMS database calls from the current existing programs and put it in subroutine which is a generic program to access
perticular database and it need to be in a way that it can handle all type of calls(GU,GN,ISRT,REPL,etc...) and all levels of segments(ROOT,LEVEL2......)
From mainprogram i will pass the type of call,if it is qualified i will pass required SSAs and subprogram need to evaluate these values and build the call
and access IMS database and finally it will return to the main program with return code and IO-AREA.
Can any one please help me how to handle these things in subprogram.
Regards,
Ramesh.