If record-format name in an externally-described file has
already been defined as a file-name.how to solve this?
Answer Posted / 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 |
Post New Answer View All Answers
How would display prime numbers using CL program?
How to write record if no field or the field are different in physical file in rpgle ?
write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen
thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400
which program rpg or cl is efficent to update a transaction onto a database file and why ?
What is ment by record level identifier?
If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?
give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........
if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.
do you use message subfiles? What are the necessary keywords required coding a message subfile?
how does the rpg element work?
1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.
can you debug ile rpg program using isdb?
What is file identifier where we can use?
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg