Q.How primary file can be defined in RPG/400?Please write
the senario with opcode specification?
Answers were Sorted based on User's Feedback
Answer / mind
primary file defined in f spec. for defining primary file
use p in place of f(fully procedure).
| Is This Answer Correct ? | 14 Yes | 0 No |
Answer / mathan
Primary file can declare in F specs, mention File Designation as "P" to indicate a primary file
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / kumar vikas
Here, one problem occurs.. suppose, if I have 100 rcds and using primary its showing only the first record n program goes into loop while using dow or dou loop...... how to read data sequentially using primary file... Please help...
| Is This Answer Correct ? | 0 Yes | 0 No |
define the purpose of the leave operation?
what key word is used when screen is re-display?
4 persons a, b , c , d have to go to concert which will held in 17 minutes. there is a bridge which only 2 persons at a time can cross. its night and they have only one flashlight with them. Flashlight cannot be thrown. one person should return with the flashlight all 4 person have different speed. a = crosses bridge in 1 min. b = crosses bridge in 2 min. c = crosses bridge in 5 min. d = crosses bridge in 10 min how can they all reach in time.?? Ex- suppose a and d crosses bridge which will take 10 mins and then d returns back with a flashlight which will make 20 mins and mission is failed.
I am working in session1 ans session2. In session1 3 jobs are running. In session2 2 jobs are running. How many LDA and temporary files will be created?
what is elastic and non elastic subrile?
Why we have multiple data types in As400 and why we use numeric, packed, decimal, zoned the basic difference between this?
records can be read/update/deleted with which file?
is it possible to create a physical file without dds?
I had ruestion in one of the interview..... If 1 file has more than 1 member and i want to use the 2nd member in the RPG pgm (in RPG400),how can I use this.... I know the possible answers i.e. useing API 'QCMDEXE' or Before calling the pgm I can use OVRDBF for that member... but I dont' want to use both the tips in above scenarion. Does any body tell me how can i use this ....?
STRTCPFTP command is used to start FTP in CL Language (ILECL)....can u plz tell me which command is used to start SFTP in CL language(ILECL)?
how can you detect overflow for a print program that prints multiple lines per cycle?
What is acronym of RPG?