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

how can a cgi check whether an ifs object is available?

643


what is the maximum number of records you can specify in a display file?

1127


what does defn do?

616


How can we arrange duplicate records in a file?

606


define the purpose of the leave operation?

957






which single rpg opcode performs both setll and reade?

1105


what is the command used to invoke rlu ?

1177


What is data structure in as400? What is the use of data structure?

604


what is meant by object lock requests,held locks and locks waiting to be applied(wrkobjlck) why should we apply for locks.Please explain sir.

5955


a multiple format logical file is also known as?

597


can a indexed file be accessed in arrival sequence in rpg program?

951


what is a keyed physical file?

1005


what if my system I runs with system value qccsid 65535?

619


how would you design the process for a nightly, high volume check producing process that needs to select only records that are flagged to be processed?

943


which type of object is used in db2/400?

651