|
View previous topic :: View next topic
|
| Author |
Message |
wpklee2000
New User
Joined: 09 Jul 2021 Posts: 3 Location: Canada
|
|
|
|
I've modified an MFS update screen to add a new field to the bottom of the screen and made all corresponding program changes. Upon entry of data into the fields, the data were saved to the database with no issue. However, when I return to this screen again, the data for the new field was retrieved from the database, but somehow not displayed on the screen. During debugging, I managed to see the data in the format output area prior to calling CBLTDLI to insert the message to the IO PCB, yet the data magically hide itself on the screen. In other words, the screen and programs work fine on the input side, but not quite on the output side.
I've checked anything that I can think of but to no avail. I'm puzzled and at a loss. Any help or suggestion would be much appreciated. |
|
| Back to top |
|
 |
wpklee2000
New User
Joined: 09 Jul 2021 Posts: 3 Location: Canada
|
|
|
|
| Sorry about that. I didn't read the posting rules and didn't realize the 2 forums are affiliated. When I first signed up for ibmmainframes, I waited for the activation email for almost an hour before realizing that it got dropped to the spam box. Meanwhile I found ibmmainframeforum and got account activated immediately, and posted my question there first. I was desperate and posted the question again on this site. What's the remedy? Do you want me to drop the question from either one? |
|
| Back to top |
|
 |
enrico-sorichetti
Superior Member

Joined: 14 Mar 2007 Posts: 10902 Location: italy
|
|
|
|
| continue here, the post on the other forum has been deleted |
|
| Back to top |
|
 |
sergeyken
Senior Member

Joined: 29 Apr 2008 Posts: 2283 Location: USA
|
|
|
|
| wpklee2000 wrote: |
| Sorry about that. I didn't read the posting rules and didn't realize the 2 forums are affiliated. When I first signed up for ibmmainframes, I waited for the activation email for almost an hour before realizing that it got dropped to the spam box. Meanwhile I found ibmmainframeforum and got account activated immediately, and posted my question there first. I was desperate and posted the question again on this site. What's the remedy? Do you want me to drop the question from either one? |
I recommend you to read these rules, and to update your post accordingly. Mainly: add all the required information with samples of code and data under question, for others to be able to understand your issue better, without trying to guess all possible problems… |
|
| Back to top |
|
 |
wpklee2000
New User
Joined: 09 Jul 2021 Posts: 3 Location: Canada
|
|
|
|
These are my changes for MFS:
1.
| Code: |
Input Message
MFLD L19C17,LTH=54
MFLD L20C17,LTH=54
MFLD L21C17,LTH=54 |
2. Output Message
| Code: |
MFLD L19C17M,LTH=56,ATTR=YES
MFLD L20C17M,LTH=56,ATTR=YES
MFLD L21C17M,LTH=56,ATTR=YES |
3. Device Description
| Code: |
*------------- LINE 19 -----------------------------------------------
*
DFLD 'ZOOM LINK :', C
POS=(19,03),ATTR=(NUM,PROT),LTH=12
L19C17 DFLD POS=(19,17),ATTR=(MOD),LTH=54
*
*------------- LINE 20 -----------------------------------------------
*
DFLD ' :', C
POS=(20,03),ATTR=(NUM,PROT),LTH=12
L20C17 DFLD POS=(20,17),ATTR=(MOD),LTH=54
*
*------------- LINE 21 -----------------------------------------------
*
DFLD ' :', C
POS=(21,03),ATTR=(NUM,PROT),LTH=12
L21C17 DFLD POS=(21,17),ATTR=(MOD),LTH=54
*
*------------- LINE 22 -----------------------------------------------
*
|
In my MPP program, I changed the message length from 659 to 821 (add 3x54)
| Code: |
* 05 MSG-HA-LENGTH PIC S9(4) COMP VALUE +659.
TO
05 MSG-HA-LENGTH PIC S9(4) COMP VALUE +821. |
I've followed these steps a few times in the past and it worked. This time it works for input but not for output.
Code'd |
|
| Back to top |
|
 |
Rohit Umarjikar
Global Moderator

Joined: 21 Sep 2010 Posts: 3109 Location: NYC,USA
|
|
|
|
| Please use code tags. It helps to understand better. |
|
| Back to top |
|
 |
Gary Jacek
New User

Joined: 17 Dec 2007 Posts: 66 Location: Victoria, BC, Canada
|
|
|
|
Are you sure your MFS updates are active?
Did you generate your MFS modules into a TFORMAT dataset?
If yes, did you issue command /TEST MFS before doing your test?
If on the other hand, you have some process to move your generated MFS modules into a non-TFORMAT dataset, command /DIS MODIFY ALL will show you the active and inactive FORMAT concatenations.
Browse the active concatenation datasets in the order presented and examine the modules produced by your MFSGEN. Have they been updated?
In the past I used a program called MFSLIST to show the assembly date of MFS modules. If memory serves, this program is available from the CBT "tape" at Use [URL] BBCode for External Links |
|
| Back to top |
|
 |
|
|
 |
All times are GMT + 6 Hours |
|