Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Navigation using PF keys

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
View previous topic :: :: View next topic  
Author Message
alamelu1984

New User


Joined: 20 Apr 2007
Posts: 40
Location: bangalore

PostPosted: Fri Aug 17, 2007 3:34 pm    Post subject: Navigation using PF keys
Reply with quote

Hi all,

In my application,i have a main menu screen from which i can navigate to another customer screen..
This navigation i need to do using function keys.

For the MAIN SCREEN MFS PRGM the code i have used is this:

MAIN screen: (here on keying in pf1 ,i shud be able to navigate to the customer screen)

PRINT ON,NOGEN
CUSTMF FMT
DEV TYPE=3270,DSCA=X'00A0',
PFK=(PFKIN,
1='/FOR CUSIO')
DIV TYPE=INOUT

(where CUSIO is the modname of the CUSTOMER SCREEN program)


and also the MID area of the MAIN SCREEN prgm contains:

CUSTMI MSG TYPE=INPUT,SOR=(CUSTMF),NXT=CUSTM
SEG
MFLD PFKIN,LTH=10,FILL=NULL
MFLD 'MAINO ',LTH=10
MSGEND

(where MAINO is the name of the transaction assigned to this program)


Is this piece of code right?????


regards

aalu
Back to top
View user's profile Send private message

Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Fri Aug 17, 2007 7:13 pm    Post subject:
Reply with quote

Quote:
Is this piece of code right?????

What happens when you execute?
Back to top
View user's profile Send private message
alamelu1984

New User


Joined: 20 Apr 2007
Posts: 40
Location: bangalore

PostPosted: Mon Aug 20, 2007 9:25 am    Post subject:
Reply with quote

when i try to execute it..
it says :

DFS121 09:24:05 PARAMETER TOO LONG
Back to top
View user's profile Send private message
girish_s

New User


Joined: 31 Jul 2007
Posts: 45
Location: india

PostPosted: Wed Aug 22, 2007 9:50 pm    Post subject:
Reply with quote

hi...
Quote:
PARAMETER TOO LONG

may be u should increase the pfkin length and give it a try... even i had got a similar sought of error...
Back to top
View user's profile Send private message
alamelu1984

New User


Joined: 20 Apr 2007
Posts: 40
Location: bangalore

PostPosted: Thu Aug 23, 2007 9:46 am    Post subject:
Reply with quote

thanx girish,

it worked...
icon_smile.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Joinkeys with duplicated keys juares castro SYNCSORT 19 Fri Sep 23, 2016 5:58 am
No new posts Rexx Panel Navigation Akshay Yadav TSO/ISPF 5 Wed Feb 17, 2016 11:50 am
No new posts Too many edit macro's and too few PF ... don.leahy TSO/ISPF 7 Wed Feb 17, 2016 3:00 am
No new posts Join Keys and DB2 Query jackare SYNCSORT 2 Sat Feb 13, 2016 5:57 am
No new posts Join Keys to compare two files senthamizh DFSORT/ICETOOL 2 Fri Feb 05, 2016 8:28 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us