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 |
what is the command used to invoke rlu ?
What is the purpose of OVRDTA keyword ?
What is RETURN CURSER LOCATION in subfile?
name few ibm supplied libraries?
why we sometimes use same file name in FILE and TOFILE in OVRDBF and sometimes different??please tell
how to write code for singlepage in sqlrpgle with update ?
what does dfu program you to do on a record?
how a varible can be passed to a subfile...accnt1 contain data in a data area..ie Daccnt1 uds,Daccnt2 3 overlay(accnt1:1), DNo 4 overlay(accnt1:4)..we want to transfer this dataarea value from acnt0001 to a subfile..that means to enter each record we have to incriment account no,, i normal window we can do move accnt1 account_no eval account_no=accnt1 eval no=no+1 exfmt usr_account how it possible with Subfile????????.Please do answer? (Thank you for all your answers dear friends!!)
What the purpose of the keywords FIFO, LIFO, FCFO?
What is the difference between a Physical File & a Logical?
28 Answers Accenture, ACS, IBM,
If login Screen has been modified by adding current date to be displayed. What Step to be followed to Keep that date as Current date Note: If no steps taken then it will display only the compilation date
How to avoid using indicators in ile ?