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


Please Help Members By Posting Answers For Below Questions

How would display prime numbers using CL program?

5963


How to write record if no field or the field are different in physical file in rpgle ?

699


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

1062


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

2084


which program rpg or cl is efficent to update a transaction onto a database file and why ?

983


What is ment by record level identifier?

864


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?

838


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...........

3558


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.

2400


do you use message subfiles? What are the necessary keywords required coding a message subfile?

903


how does the rpg element work?

943


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.

5930


can you debug ile rpg program using isdb?

942


What is file identifier where we can use?

847


Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg

944