Search This Blog

Saturday, 4 February 2012

Driver program in mainframes

The driver program is an existing program in which the commarea has been redefined by different copybooks. Each copybook is for a separate function call and contains a set of request and reply strings.
I have added a new function call and a new copybook. The norm followed in this program is that after MQGET, the reply string is populated with values from the request string.


MOVE MQMD-MSGID TO REQUEST-MQ-MSGID
MOVE MQMD-CORRELID TO REQUEST-MQ-CORRELID
MOVE MQMD-REPLYTOQ TO REQUEST-MQ-REPLYTOQ
MOVE MQMD-REPLYTOQMGR
TO REQUEST-MQ-REPLYTOQMGR
MOVE REQUEST-MQ-COMMAND
TO REPLY-MQ-COMMAND
MOVE REQUEST-MEMBER-ID
TO REPLY-MEMBER-ID
MOVE REQUEST-USER-ID
TO REPLY-USER-ID
.
.
.
and Next..



We have a main CICS Driver program which calls many DB2 programs.
One of the called program has ADD, DELETE and CHANGE functionality.

I have no issue with ADD but got an timeout error in web side when we hit the DELETE functionality. Mainframe side we are successful in doing the DELETE functionality and pasing back to web successfully.

Do you guys have similar kind of expereince in the past who can help me out. 


http://ibmmainframes.com/about42912.html

No comments:

Post a Comment