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

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

1795


how do you use commitment control in rpg program ?

1980


writing an sql statement from selecting records from two files using single statement and nested select statement.

1126


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

1716


What are the different opcodes used for file operation on a subfile in a rpg pgm?

1736


what is term cua , saa?

1529


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

1733


Difference Between Source Physical File & Physical File?

1027


Why we are not able to perform insert delete and update operation in Join logical file?

1419


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

1516


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

2001


what is externally described file ?

1594


What Is Ddm ?

1610


under given circumstances, my cgi should link to another site. How to implement this?

950


how you will find an error which is not in the first page of the subfile without using rolldown key?

945