IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Creating an 'Enter' event with IMS MFS in java.


IBM Mainframe Forums -> Java & MQSeries
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
dileep chirasani

New User


Joined: 05 Aug 2016
Posts: 1
Location: India

PostPosted: Sat Aug 06, 2016 2:23 am
Reply with quote

Hi,
I am working on mimicking 3270 mainframe interaction in to java using IMS MFS .
Code:
         DEV   TYPE=(3270,2),FEAT=IGNORE,SYSMSG=ERRMSG1,               C00004   
               PFK=(PFKEY,'01','02','03','04','05','06','07','08',     C00005   
               '09','10','11','12','13','14','15','16','17','18',      C00006   
               '19','20','21','22','23','24')                           00007   

The above snippet is a mfs lib entry for mimicking the PFKey events like PF1, PF2,... PF24.
Do we have some thing in MFS to mimic the 'Enter' event as well?
The requirement is as follows.
During normal flow which involves updation of the fields and calling javax.resource.cci.Interaction.execute() method of IMS JCA works fine and I am able to move from one screen to another screen.
But when there is no field to populate and has to just create an 'Enter' event. On calling the execute() method again it is rerouting the control to interaction Initiation screen instead of going as per the flow in 3270 session.

Could any one help me on this issue..
Back to top
View user's profile Send private message
Gary Jacek

New User


Joined: 17 Dec 2007
Posts: 64
Location: Victoria, BC, Canada

PostPosted: Tue Aug 09, 2016 12:07 am
Reply with quote

In the MID Message Input Descriptor, there may be a default value defined for the PFKEY field. If this default matches one of the PFKEY entries in the DEV entry, then you could map "ENTER" as that default PFKEY.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Java & MQSeries

 


Similar Topics
Topic Forum Replies
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
No new posts DB2 Event passed to the Application P... DB2 1
No new posts Using Java/C/C++ to retrieve dataset ... Java & MQSeries 6
No new posts Creating Unix Directory using COBOL i... COBOL Programming 2
No new posts building java class with zip4j.jar on... Java & MQSeries 0
Search our Forums:

Back to Top