MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problem while invoking one transaction to another

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS
View previous topic :: View next topic  
Author Message
Nippuravva
Beginner


Joined: 06 Nov 2004
Posts: 5
Topics: 1

PostPosted: Sat Nov 06, 2004 4:45 pm    Post subject: Problem while invoking one transaction to another Reply with quote

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

Appreciate your help.

Thanks
Nippuravva.
Back to top
View user's profile Send private message
Bithead
Advanced


Joined: 03 Jan 2003
Posts: 550
Topics: 23
Location: Michigan, USA

PostPosted: Mon Nov 08, 2004 12:45 pm    Post subject: Reply with quote

Try changing

PFK=(PFKIN,'TRAN1 ','TRAN2 ')

for TRAN2 to

PFK=(PFKIN,'TRAN2 ','TRAN1 ')
Back to top
View user's profile Send private message
Nippuravva
Beginner


Joined: 06 Nov 2004
Posts: 5
Topics: 1

PostPosted: Mon Nov 08, 2004 1:19 pm    Post subject: Reply with quote

Bithead, Thank you for your earliest reply.

Tried the code change.Still having the problem.

Code:
PFK=(PFKIN,'TRAN2 ','TRAN1 ')


Here we are telling throw TRAN2 instead of TRAN1 by pressing PF1. I will appreciate if you can tell me how does it make difference.
Back to top
View user's profile Send private message
Bithead
Advanced


Joined: 03 Jan 2003
Posts: 550
Topics: 23
Location: Michigan, USA

PostPosted: Mon Nov 08, 2004 2:44 pm    Post subject: Reply with quote

How is the program coded to message switching from TRAN2 to TRAN1
Back to top
View user's profile Send private message
Nippuravva
Beginner


Joined: 06 Nov 2004
Posts: 5
Topics: 1

PostPosted: Mon Nov 08, 2004 2:50 pm    Post subject: Reply with quote

Bithead, Switching is doing using MFS not through program.
Back to top
View user's profile Send private message
Bithead
Advanced


Joined: 03 Jan 2003
Posts: 550
Topics: 23
Location: Michigan, USA

PostPosted: Mon Nov 08, 2004 3:56 pm    Post subject: Reply with quote

Can you show me the PSBs?
Back to top
View user's profile Send private message
Nippuravva
Beginner


Joined: 06 Nov 2004
Posts: 5
Topics: 1

PostPosted: Tue Nov 09, 2004 9:59 pm    Post subject: Reply with quote

Bithead, I found the problem.

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).

Thank you for all your replies.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group