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 |
when you are defining a flat file in your program in f specs which format will you specify?
what is *inzsr used for?
what does defn do?
what is the rpg and cl life cycle?Please tell me any body
how can I automatically refresh a web page?
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 is the purpose of the following I UDS I 1 60ORDER# I 7 90LINE#
if &var='good++++' &var2='day' &var *cat &var2 &var1 *tcat &var2 what is output
how does the runqry show the output?
what is message file?
Diff B/w ref and reffld?
how to define to define a hidden filed in dspf ?