Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
conversational program not reading the user input from scre

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

New User


Joined: 15 Nov 2013
Posts: 4
Location: USA

PostPosted: Mon Apr 13, 2020 6:16 am    Post subject: conversational program not reading the user input from scre
Reply with quote

Hi,

I am relatively new to IMS TM and trying to create a new program that uses Scratch Pad Area to communicate with the terminal. I am using a screen that accepts user input and initiates a transaction triggered MPP which then retrieves information related to the data & the function key entered by the user. The MPP routes the output to one of the screens depending on the PF Key. when the user hits another function key, the MPP reads data from SPA for the corresponding screen and throws that screen to the terminal. It's a very simple program and I was able to achieve the same functionality without using a Scratch Pad area in a non-conversational approach. I need to do this using a conversational program(that uses Scratch Pad) and expand upon it.

I have a GU call using the Scratch Pad IO area followed by a GN call using Input Message IO Area. The program just doesn't seem to be doing anything. However when I change things here and there a bit, the screen displays random data which consists of few bytes from the transaction ID and few bytes from the data entered on the input field and the value corresponding to the function keys in the MFS. In short, whatever is displayed on the screen consists of a jumbled up mix of what I enter as input including the function keys. It looks like there is a problem with the input messages read in the GU and the GN calls. Am I missing anything while issuing these two calls back to back. Do I need to take care of anything in the GN call - I have coded a condition to check if the message read by GN call has a shorter length because the transaction code would have been removed. Not really sure what else I am missing. can you please provide a pseudo sample of how should I place my calls to read a simple message (just one field) in a conversational program that uses Scratch Pad.
Back to top
View user's profile Send private message

Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2378
Location: Hampshire, UK

PostPosted: Mon Apr 13, 2020 1:08 pm    Post subject: Reply to: conversational program not reading the user input from scre
Reply with quote

I doubt very much that anuthing was "thrown at the terminal". I suspect that something was "displayed on the terminal".

Nothing is 'thrown' on z/OS.
Back to top
View user's profile Send private message
sudhakarmurari

New User


Joined: 15 Nov 2013
Posts: 4
Location: USA

PostPosted: Mon Apr 13, 2020 7:29 pm    Post subject:
Reply with quote

My apologies for using the word throw. I am sure you would have noticed that I have used the word "Display" at other places.
If you could please disregard this error and help me resolve the problem.
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 IOF reading using REXX paval21 CLIST & REXX 0 Mon Jun 15, 2020 9:44 pm
No new posts In JCL Procedure how we can execute R... Dhananjayulu Neeli CLIST & REXX 7 Sat May 16, 2020 12:01 am
No new posts DITTO/ESA R3 User's Guide and Referen... Yoyok Aditias IBM Tools 2 Wed May 13, 2020 5:28 pm
No new posts APCT Abend while running an online CI... amitc23 CICS 1 Wed May 06, 2020 9:59 am
No new posts Need help in locating program and tra... Smita.t2 IMS DB/DC 1 Wed Apr 29, 2020 6:33 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us