If record-format name in an externally-described file has
already been defined as a file-name.how to solve this?
Answers were Sorted based on User's Feedback
Answer / rahul
Use the "RENAME" keyword in F specs.
F File1 IF E DISK Rename(File1:Filex)
And use the new record format name "filex" in the program.
Is This Answer Correct ? | 31 Yes | 3 No |
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
Suppose we have 10 records with same name and we are reading using READE,after 4 record i have to use CHAIN what is the output
can you debug ile rpg program using isdb?
Suppose you have 3 members in a database file. How to read records from all the members without using CL (OVRDBF) i.e. Entire process should be handled exclusively in a RPG program?
Hi,This is raju.Can any body give me the real experience answer for this question? 1.What is the significance of *MAP and *DROP in the CPY command?
1) How to declare a file? 2) How to define a display file? 3) How to monitor error messages in RPG? 4) How to find the attributes for subfiles? and what is the DDS for subfiles?
1.How you will find the program is batch or online in cl pgm? 2.How you will end the batch pgm when the job runs? write an logic? 3.In wich command the option *drop is used?
Hi guys, anybody know How RPG/400 code can be converted to RPG IV code with a single command?
HI,1: What is the function of 'SETON LR' AND '*INLR=*ON ? 2:Can we used "seton lr" OR "*INLR = *ON" in between the program code ? 3:if yes then according to there function the code which is written acter seton lr/ *inlr should not be execute . Can any one tell me why those code get executed ?
what are the key words you must use when using a subfile?
i)What is the command to lock a file in a program ii)2. Can you get a level check error in a CL program
what happens when sflsiz = sflpag? What are the advantages and disadvantages?