Q.How primary file can be defined in RPG/400?Please write
the senario with opcode specification?
Answer Posted / 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 |
Post New Answer View All Answers
what is the function of rlu ?
how to define to define a hidden filed in dspf ?
How Many Specs Are There In Rpg & Which Are They?
What is the use of jdftval in as400?
what is the difference between udate and the system date?
What is RETURN CURSER LOCATION in subfile?
Difference Between Ca & Cf?
what is the difference between packed decimal and zoned decimal?
explain the use of dftwrt display keyword?
Why we sometimes use same file name in file and tofile in ovrdbf and sometimes different?
Hi,Can any body give the code for the below mentioned quetion.?Im trying to get coding in with easily inderstanding.Plese give me the coding for this? 1.How would you achieve this requirement with out using RPG/RPGLE pgm,but by using only CL?Read a database file and display file contents on the screen when enter key pressed the next record should be displayed on screen.When the last record is reached or when F3 key is pressed the program should exit if the file is empty,a message should be displayed indicate that there are no records to display. Database file Name=EMPDBF Fields in EMPDBF to be displayed on screen Employee Number- EMPNUM(5,0) Employee Name- EMPNAM(30,A) Employee Address-EMP ADDR(50 A)
how can you check for a records existence without causing and i/o (chain/read)?
can you have multiple key lists for a single file ?
Service Program : S1 Modules in S1 : M1 M1 having two procedures : ADD, SUB Current Binder Language STRPGMEXP PGMLVL(*CURRENT) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") ENDPGMEXP Doubt: I need to add one new Module to the Service Program M2 having one procedure ‘MULT’ How to add this new module to the service program S1 ? If I need to recreate the service program again, Do I need to mention the Module M1 again while recreating along with new Module M2? There is no Binding Directory. Binder language structure will be like this STRPGMEXP PGMLVL(*CURRENT) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") EXPORT SYMBOL("MULT") ENDPGMEXP STRPGMEXP PGMLVL(*PREVIOUS) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") ENDPGMEXP
when is a tag statement used in rpg?