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
What is the difference between copybooks and subprocedures in as400?
are there any useful c runtime apis that I can call from rpg iv?
during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.
what is file information data structure?
How many program bind in one module....
Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?
When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?
Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?
what is the use of sflnxtchg?
explain sflclr, sflend, sfldlt, and sflcsrrrn?
How to write record if no field or the field are different in physical file in rpgle ?
which program rpg or cl is efficent to update a transaction onto a database file and why ?
how do I play {insert rpg system here}?
can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com
How to call one program from another program in RPG? please help me with the code