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 |
What is the purpose of the following? A CSRLOC (F1ROW F1COL)
WHAT IS DECIMAL DATA ERROR IN RPG IV...WHEN WILL IT HAPPENS?
What is a Library in AS/400?
Explain this error: "all record formats for externally-described file abcd ignored or dropped due to error; file ignored."?
How to reverse a string using RPG?
under given circumstances, my cgi should link to another site. How to implement this?
What is the difference between iter and do? We know both are used to execute set of statements repeatedly, but what is the main difference?
what are the different opcodes available in rpg for database access ?
List the steps/commands necessary to accomplish the following: a. Copy data from the file ORDHDR into file ORDHIST b. The file ORDHIST may or may not exist c. If the file ORDHDR does exist, it may or may not contain data d. The file ORDHIST may or may not contain data, if the file does contain data the old data should be erased
how do you use commitment control in rpg program ?
What is access path in as400?
Q.How primary file can be defined in RPG/400?Please write the senario with opcode specification?