Q.Hi All friends,
I have one Question, I have three fields in display file
SUP LOT, ISSUED to Prod and Line Grp.
Field SUP LOT is mentioned in one field reference file
WRSLT and key field as a key field LP.Fields ISSUED to
PROD,Line GRP are mentioned in the another Field reference
file WMDTF.
So I want to read SUP LOT on the basis of key field LP from
the first file WFSLTand then i want ot read another two
fields ISSUED to DATE and LINE GRP from second file on the
basis of SUP LOT, which i got from first file.Now i want to
display these fields in the display file DSPWMMS.
but Condition is that 'Supplier Lot,ISSUED to Prod and
Line Grp will not be shown if their respective fields are
blanks/Zero.
Please Let me Know coding part of this senerio and what
would be coding for display file to now shown fields if
fields are blanks/zero.
My mob. no. is 9836300345.
Please reply me asap.
Answer / syam
1. Check PF and Display file variable name should be same.
If not you need to use "move or z-add" opcode.
2. 2nd file record not Chain properly bcoz inticator *on
and *off not correct, file may be end of record (use setll
*loval") be4 read, make sure after chain record "write
dspmwms" used.
Please paste your code here so we cand find mistake.
| Is This Answer Correct ? | 0 Yes | 0 No |
How do you set the keywords SFLSIZ and SFLPAG if you want the subfile to dynamically expand?
explain the difference between defining subfile and message-subfile?
Specify different indicators used in RPG?
What is the use of OVRPRTF ?
what is a composite key?
why is the declare cursor statement is used for?
Service Program : S1 Modules in S1 : M1 M1 having two procedures : ADD, SUB Current Binder Language STRPGMEXP PGMLVL(*CURRENT) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") ENDPGMEXP Doubt: I need to add one new Module to the Service Program M2 having one procedure ‘MULT’ How to add this new module to the service program S1 ? If I need to recreate the service program again, Do I need to mention the Module M1 again while recreating along with new Module M2? There is no Binding Directory. Binder language structure will be like this STRPGMEXP PGMLVL(*CURRENT) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") EXPORT SYMBOL("MULT") ENDPGMEXP STRPGMEXP PGMLVL(*PREVIOUS) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") ENDPGMEXP
What is access path in as400?
What is a Device file?
What is array in as400? What are the types of array?
what is message file?
What is the use of OVRDBF ?