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 |
The PGMA calls PGMB.PGMB generates a report.The report should contain the called program name(PGMA).How do i get the called program name in PGMB to print it on the spool file?(calling program name should NOT be hard coded or passed as parameter to called program?
What would be the result on writing a data record to a PF file using the "WRITE" opcode after the SETON *ON *INLR statment?
which program rpg or cl is efficent to update a transaction onto a database file and why ?
Need a sql query: retrive all duplicate records in table
What will be your approach in going either for OPNQRYF or Logical files. Which one to go for?
how does the rpg element work?
can anyone explain aboutovrOVRDBF,OPNQRYF, OVRSCOPE and OPNSCOPE?
is this a rpg channel?
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
Q:HI friends accually ihave one problem plesase let me know the alternate code of this code. Related field description of code: Add a field, CALvsPRD, "Calendar Day Starts Before/After Production Day" to the parameter set WRKORDER which accepts values 'A' or 'B' o B = Calendar Day Starts Before Production Day o A = Calendar Day Starts After Production Day o Any other value indicates the production and calendar dates are always the same. code: Automatic Execution Of *INZSR Subroutine /Z01 * retrieves WRKORDER field values. /Z01 * Calculate default Production Date and return it to caller. /Z01 * Production date defaults to system date /Z01 C Eval P@Pdate = %DATE() /Z01 * unless Calendar date starts Before PDN(production) date and /Z01 * system time is before PDN Start Time then /Z01 * PDN date is yesterday. /Z01 C If W@CALvsPRD = 'B' and /Z01 C %TIME() < %TIME (W@Strtime) /Z01 C Eval P@Pdate -= %Day(1) /Z01 * unless Calendar date starts After PDN date and /Z01 * system time is *GE PDN(production) Start Time then /Z01 * PDN date is tomorrow. /Z01 C ElseIf W@CALvsPRD = 'A' and W@Strtime > *Zero and /Z01 C %TIME() >= %TIME (W@STrtime) /Z01 C Eval P@Pdate += %Day(1) /Z01 C EndIf /Z01 C Eval *InLr = *On
two attributes which govern the excecution of a job>>>>??
How can we receive values from a called procedure in CL?