Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



How to declare the length of emp no in the physilcal file and the mandatory length is 6 i.e. Emp N..

Answer / syam

Use CHECK(MF) keyword in PF

Is This Answer Correct ?    5 Yes 1 No

How to declare the length of emp no in the physilcal file and the mandatory length is 6 i.e. Emp N..

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

Post New Answer

More IBM AS400 AllOther Interview Questions

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

3 Answers   ANZ,


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.

1 Answers   IBM,


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?

2 Answers  


what are indicators?

0 Answers   IBM,


what is the use of dspatr(mdt) keyword?

1 Answers   IBM,


what is arrival sequence?

1 Answers   IBM,


how can a procedure will be added in to a srvpgm

4 Answers   TCS,


what key word is used when screen is re-display?

0 Answers   IBM,


what is *iso date format?

0 Answers   IBM,


how can you check for a records existence without causing and i/o (chain/read)?

1 Answers   IBM,


what is the command to rtrieve system date? options:1.rtvsysval 2.rtvjoba 3.rtvjobd 4.both a and b

5 Answers  


what opcode could be used to test an alphanumeric field for all numeric values?

1 Answers   IBM,


Categories