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



If record-format name in an externally-described file has already been defined as a file-name.how ..

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

If record-format name in an externally-described file has already been defined as a file-name.how ..

Answer / naresh

use the rename option

Is This Answer Correct ?    5 Yes 1 No

Post New Answer

More RPG400 Interview Questions

while i am using the dspmsg command on comman line in Mocha am getting error like Not authorized to message queue message my messagequeue Name? can anybody help me how to change my message queue Am anable to see my messages in message queue

1 Answers  


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

0 Answers  


I have a RPG program of 100 Lines and first line is to SETON indicator LR. Will the program execute rest of the 99 Lines?

6 Answers  


Can AnyOne tell me how to read join logical file in rpg from starting to end?

2 Answers  


A pgm subroutine calling child subroutine, that child subroutine again calling parent subroutine, u have 1000 lines of code, with out debugging , how can u find that error??? Is there any command to find errors in pgm???

3 Answers   HSBC,






How can we call CL program to RPG? How many number of parameter we can pass

2 Answers   TCS,


Can any body give the code for this quesition? Using the following details write C-Spec code to set Name to"AMMU LABS SYSTEM" D NAME1 S 10 INZ('AMMU') D NAME2 S 10 INZ('LABS') D NAME3 S 10 INZ('SYSTEM') D NAME S 20

5 Answers  


How to read a record from file where there is multiple record occurrence is available?

1 Answers  


what is data area and how it is used in rpg program ?

0 Answers   IBM,


can anyone say,what is the use of operation extended H/N/P?

2 Answers  


How can we override a file during runtime in rpg?

0 Answers  


please help me answer to this question what is the difference between the binding and srvpgm in ilerpg?

4 Answers   HCL,


Categories