How do you code file / field renames in ILE RPG?
Answer Posted / ravikumar895
Hi Ankit and shivam,
if two files having same record formats, using RENAME keyword we can rename the one record format...
Ffilename1 UF A E K Disk
F Rename(original record format name1:new record format1)
Ffilename2 UF A E K Disk
F Rename(original record format name1:new record format2)
Answer for Harshad to his question :
--------------------------------------------
D D0220NEW E DS PREFIX(D21:3)
D EXTNAME(CZGD02H0:CZTD02H2)
D D0220OLD E DS PREFIX(D@@:3)
D EXTNAME(CZGD02H0:CZTD02H2)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain mdt?
What are the types of identifiers?
What is the purpose of record level identifier?
We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?
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 can you display specific subfile page on the screen in unequal subfile?
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?
what are the key words you must use when using a subfile?
How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique
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
what is the rpg system?
How to select highest score of each subject or how to select highest income of every month?
What is the difference between copybooks and subprocedures in as400?
How to call one program from another program in RPG? please help me with the code