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?
Answers were Sorted based on User's Feedback
Answer / babbi
1) We can delcare a Display file.
2) Under V5R2 its 1
V5R3 its 5
3) Nothing but a simple logical file.
We can update data thru Non-join LF, contrary to Join
LFs.
| Is This Answer Correct ? | 34 Yes | 0 No |
1.) Yes. WE declare Display file using DCLF command.
2.)Guess you can have 5 DCLF command in a CL.
3.)
| Is This Answer Correct ? | 25 Yes | 2 No |
Answer / 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 |
Answer / kiran
1)YES USING DCLF COMMAND
2)ONLY ONE FILE CAN BE DECLARED
| Is This Answer Correct ? | 3 Yes | 11 No |
Is it necessary to define all formats ? Which are mandatory and which are Optional ?
Define each of the following operation codes a, b, c, d, e
define what a data queue is along with a brief example of what it may be used for?
What is the purpose of the following FORDHDR1 CF E WORKSTN $2SFN SFILE FMT2
how does the runqry show the output?
Suppose you have 3 members in a database file. How to read records from all the members Without using CL (OVRDBF) i.e. it should be handled exclusively in an RPG program?
how to write code for singlepage in sqlrpgle with update ?
What is the difference between keys of a Physical file and the keys of a logical file?
2 Answers Bank Of America, BoA,
What is the maximum number of times Multiple Occurrences DS can occur in a program?
define the purpose of the *bcat function?
How to convert a spool file to PDF file in AS400?
What are the different types of keywords in display files?