Posted: Sat Nov 06, 2004 4:45 pm Post subject: Problem while invoking one transaction to another
Hi all
I am new to this group. I am getting one problem in IMS/DC transaction.
When I am invoking one transaction called Tran1 which will take customer number as input (only unprotected feild on the screen) based on that it will display the output. Thru pfkey i.e. PF2 i need to invoke another transaction called Tran2. While i am doing this i need to pass Customer number also to that screen(Customer number as input for Tran2 transaction). When i invoke the Tran2 from Tran1 it is sending the customer number. But when i invoke TRAN1 by pressing PF1 from TRAN2 the TRAN1 transaction is not displaying but it is throwing TRAN2 transaction with TRAN1 data . Can any body help what might be the reason.
Here is my PFK in MFS for Tran1
In DFLD
PFK=(PFKIN,'TRAN1 ','TRAN2 ')
MID ---
MFLD FOR,LTH=014,FILL=NULL
MFLD (PFKIN,'TRAN1 '),LTH=014
MFLD (DEVTYP,'04'),LTH=002
MFLD CUSTNO,LTH=006
MOD ---
MFLD (DEVTYP,'04'),LTH=002
MFLD CUSTNO,LTH=006
Here is my PFK in MFS for Tran2
In DFLD
PFK=(PFKIN,'TRAN1 ','TRAN2 ')
MID ---
MFLD FOR,LTH=014,FILL=NULL
MFLD (PFKIN,'TRAN2 '),LTH=014
MFLD (DEVTYP,'02'),LTH=002
MFLD CUSTNO,LTH=006
MOD ---
MFLD (DEVTYP,'04'),LTH=002
MFLD CUSTNO,LTH=006
When i am inserting the data on screen in Tran1 program i did not pass the mod name. Since i didnot pass any mod name in Tran1 it is using Tran2 mod name(same screen).
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum