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 retrieve RRN value in RPGLE program

3 Answers  


1.If *HIVAL SETGT is used what opcode is used to read a record? A:READ B:READPE C:CHAIN D:READP 2.How to pass numeric parameter to the rpg pgm from the command line? 3.What keyword is used on the rpg 4 definition specification to rename a subfile in an externally definition data structure? A:RENAME B;LIKE C:EXTNAME D:EXTFLD

4 Answers   Manhattan,


what is the difference between the cpyf command crtdupobj command?

9 Answers   IBM,


I have to change a program. This program is calling a subroutine mor than 100times within it. so will it have any performance issue? if yes than what changes i can make. Thanx for ur valuable answer.

2 Answers  






i'm working on progA , in that program i want to see the userids of the users who work on this program?

10 Answers   Four soft,


Hi friends, Can you give the solution for the below mention simple code.and explain.what is output D CHR1 S 4A INZ('PEN') D CHR2 S 10A INZ('MYGET') D CHR3 S 8A INZ('GOOD') D CHR4 S 22A INZ C MOVEL CHR1 CHR4 C MOVE CHR2 CHR4 C EVAL CHR4=CHR3 C MOVE CHR1 CHR4

4 Answers  


Let?s consider a variable X of length 20. Move value ?ABC? to it.How to determine how many characters does X have?

1 Answers  


I have a Physical File name 'File1', which is present in two libraries named 'LIB1' & 'LIB2'. These 2 libraries are listed in the library list. Would like to access data from this file from these two libraries using RPG program. How to do this, any idea?

4 Answers  


How do you call procedures in ILE?

3 Answers  


Can we possible to key with the date field?

1 Answers   IBM,


How do I read records from Subfile? what is the purpose of READC explain with example?

4 Answers   IBM,


Categories