where we give the MSGSFL in rpg400?

Answers were Sorted based on User's Feedback



where we give the MSGSFL in rpg400?..

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

where we give the MSGSFL in rpg400?..

Answer / svanky

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

where we give the MSGSFL in rpg400?..

Answer / venkatrao

we can declared in Message Subfile

Is This Answer Correct ?    2 Yes 2 No

where we give the MSGSFL in rpg400?..

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

Post New Answer

More RPG400 Interview Questions

what is plat file?

6 Answers   Indian Infotech,


How to create a key field for a logical file inside RPG?

4 Answers   HSBC,


How to change the name of physical members Dynamically?

1 Answers  


How to call one program from another program in RPG? please help me with the code

0 Answers   HCL,


How can we change element of compile time array?Can we do so

1 Answers   TCS,






1. If my rpg program has a date field, What extra care I have to take while compiling that RPG program? 2. If the file is keyed and I have declared the file as well as Key list properly in my program. Still am getting an error message like "Chain/reade operation is not allowed" What may be the case?

6 Answers   Virtusa,


Thanks gagan for your answer,i'm new to as400,i don't know embedded sql in rpg.can you send me the coding for the below mentioned question in embedded sql rpg. how to retrieve particular field records from a physical file,say i have a physical file called 'employee' in it i have to retrieve the records of a field 'admin' present in pf 'employee' using rpg,but i should not use logical file or openquery file.

2 Answers   iGate,


am 2010 passed out . can any one tell me which course is good to put 2+fake .guide me

1 Answers  


are there any useful c runtime apis that I can call from rpg iv?

0 Answers   IBM,


use of PUTOVR,OVRDTA,KEEP keywords?

2 Answers   HCL,


When will DUMP & DEBUG be ignored?

3 Answers   IBM,


how can we find setll setgt chain read reade readp operations are successfull or not,give example.explain in detail.

4 Answers   iSoft, Wipro,


Categories