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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can any one explain the basic things about RLU and Printer Files and their Definitions for both and why are they used,i'm a newbee so please help me out

2912


how do you know that records are locked?

1181


What is RETURN CURSER LOCATION in subfile?

1080


What is the difference between non-join logical files and join logical files?

624


What is the use of jdftval in as400?

923






can error messages as a result of a comp, range or values keyword be overridden?

1156


what do we can do with the embedded sql statements?

591


What is compiler directive in as400? Give example of compiler directive.?

580


what are the different types of variables available in cl?

1020


what is the command to know key fields of file?

629


what are the limitations of cl (compare to rpg) ?

1559


what is cab?

676


how do handle file exception/error?

663


Difference Between Interactive & Batch Job?

801


In AS/400 projects in Companies whats the meaning of production support team.what production support involves.also what work does development,maintenance involve what are the other teams or processes that are available for as400 project.

8543