How to declare the length of emp no in the physilcal file
and the mandatory length is 6 i.e. Emp No should be
numeric, mandatory and fill all the 6 places
Answers were Sorted based on User's Feedback
Answer / pallavi
Syam is partly correct, but it will allow eventhough we
didn't specify any value for that field.
So we have to use mandatory entry along with mandatory field
Use CHECK(MF ME)
Hope this works fine.
| Is This Answer Correct ? | 1 Yes | 1 No |
1.What is the difference between regular join logical file and non join logical file? 2.what are the nessasary keywords for non join logical file
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.
PGM QSH CMD('/QOpenSys/bin/sftp -b/home/test/myfile.txt serverUserID@server') ENDPGM Can u plz tell me what the above code do exactly?
what are indicators?
what is the use of dspatr(mdt) keyword?
what is arrival sequence?
how can a procedure will be added in to a srvpgm
what key word is used when screen is re-display?
what is *iso date format?
how can you check for a records existence without causing and i/o (chain/read)?
what is the command to rtrieve system date? options:1.rtvsysval 2.rtvjoba 3.rtvjobd 4.both a and b
what opcode could be used to test an alphanumeric field for all numeric values?