where we give the MSGSFL in rpg400?
Answers were Sorted based on User's Feedback
Answer / renjith
The message sufile is using for getting the messages on
subfile. If there atre multiple messages, message field
will show the first message and + sign and when we press
page down we can see the remaining msgs.
Is This Answer Correct ? | 6 Yes | 0 No |
you will not declare/give your MSGSFL in the RPG pgm.
It will be declared(or more precisely included) in the DSPF, at the bottom; used by your RPG program.
Search for sp. K/words like SFLMSGRCD, SFLMSGKEY, SFLPGMQ in the DSPF; that's your MSG Subfile.
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / surya siram
We can create a message sub-file (MSGSFL) in display file, if you want to display multiple messages at a time on the screen.
Is This Answer Correct ? | 0 Yes | 0 No |
1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?
What is SFLNXTCHG keyword why it has used and where? Briefly explain with Example.
i'm working on progA , in that program i want to see the userids of the users who work on this program?
can I touch the array during treatments?
how can we know running job is batch or intractive ? i need all the possibilites.........plz help me
Anybody can explain the difference between SFLCLR & SFLINZ?
We have a Physical file, after reading 5 records,it has to read LF of that same Physical file,Will it start reading from Ist record or will start reading from 5th record?
Hi,Please give me complete code with this logic. The question is how to read the records from a file with load an array of size with error condition? (The logic is Z-Add 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN9 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO)please give me complete code with explanation?
What would be the effect on the field where reverse image, underline and high intensity?
There is a excel sheet having details of Old account number and new account number. I need to update these details in my AS400 files. i.e. all the records having old account number should be replaced with new account number. There can be 100 or 200 or 300 PFs...no fix files known. how can we do this?Solution should be performance oriented
A pgm subroutine calling child subroutine, that child subroutine again calling parent subroutine, u have 1000 lines of code, with out debugging , how can u find that error??? Is there any command to find errors in pgm???
how does the rpg element work?