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



Q.How primary file can be defined in RPG/400?Please write the senario with opcode specification?..

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

Q.How primary file can be defined in RPG/400?Please write the senario with opcode specification?..

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

Q.How primary file can be defined in RPG/400?Please write the senario with opcode specification?..

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

Post New Answer

More IBM AS400 AllOther Interview Questions

What is the purpose of the following? A CSRLOC (F1ROW F1COL)

1 Answers  


WHAT IS DECIMAL DATA ERROR IN RPG IV...WHEN WILL IT HAPPENS?

6 Answers   CTS,


What is a Library in AS/400?

2 Answers  


Explain this error: "all record formats for externally-described file abcd ignored or dropped due to error; file ignored."?

0 Answers  


How to reverse a string using RPG?

0 Answers  






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

0 Answers   IBM,


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?

0 Answers  


what are the different opcodes available in rpg for database access ?

1 Answers   IBM,


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

1 Answers  


how do you use commitment control in rpg program ?

1 Answers   IBM,


What is access path in as400?

0 Answers  


Q.How primary file can be defined in RPG/400?Please write the senario with opcode specification?

3 Answers   Keane India Ltd,


Categories