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 |
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
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
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?
Can AnyOne tell me how to read join logical file in rpg from starting to end?
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???
How can we call CL program to RPG? How many number of parameter we can pass
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
How to read a record from file where there is multiple record occurrence is available?
what is data area and how it is used in rpg program ?
can anyone say,what is the use of operation extended H/N/P?
How can we override a file during runtime in rpg?
please help me answer to this question what is the difference between the binding and srvpgm in ilerpg?