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...

1) Can we declare a Display file in CL?

2) How many no. of files can be declared in a CL?

3) What is Non-Join Logical file and its importance?

Answer Posted / jay choudhari

* To declare frist physical file.

CL CODE:

DCLF FILE(PHYSICAL FILE NAME)
READ: RCVF RCDFMT(PF RECORD FMT NAME)
MONSMS MSGID(CPF0864) EXEC(GOTO CMDLBL(END))
OPERATIONS
GOTO CMDLBL(READ)

END: ENDPGM

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what does vldcmdkey means?

1422


in conjunction with what other keyword must ovrdta and ovrata be used?

1611


How to add 99 menu (page down) option in menu creation..

2412


what is the purpose of overrides?

1830


how many specifications are there in rpg/400? What are they?

2097


what is the use of data structures?

1182


how can I control from my cgis the cache of a remote browser?

1221


how can you execute a command from within an rpg program without calling a clp program?

2078


how can I predict the performance of my cgis?

1160


what is the maximum number of subfiles that can specified in a display file ?

1861


what is *iso date format?

1092


what is the difference between sflclr and sflinz?

1845


what would be the effect on the field where reverse image, underline and highlight display attributes were active?

1682


what does dfu program you to do on a record?

1276


Pose, there are 100 records in the file.i need to retrieve all the records matching/equal to the particular name field. How can we do the above using search criteria other than using the if cond?

1092