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

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

Difference Between Call & Sbmjob?

1229


can you display a empty subfile?

1179


where will control be passed after the execution of the *pssr subroutine if the factor2 of the endsr is blank ?

1733


How can we change the uppercase to Lowercase in RPG?

1363


how many printer files maximum can be used in single rpg program?

1134


define what a data area is along with a brief example of what it may be used for?

1598


can you have multiple key lists for a single file ?

1606


Hi,Can any body give the code for the below mentioned quetion.?Im trying to get coding in with easily inderstanding.Plese give me the coding for this? 1.How would you achieve this requirement with out using RPG/RPGLE pgm,but by using only CL?Read a database file and display file contents on the screen when enter key pressed the next record should be displayed on screen.When the last record is reached or when F3 key is pressed the program should exit if the file is empty,a message should be displayed indicate that there are no records to display. Database file Name=EMPDBF Fields in EMPDBF to be displayed on screen Employee Number- EMPNUM(5,0) Employee Name- EMPNAM(30,A) Employee Address-EMP ADDR(50 A)

2152


in conjunction with which statements can orxx and andxx conditions be used ?

1795


difference between view and index ?

1091


when do you explicitly open files and close files in an rpg program?

1989


can a join logical file be updated?

970


what is *inzsr used for?

2266


What is difference between rename and prefix?

991


What Is The Difference Between Goto & Exsr?

1592