How do you code file / field renames in ILE RPG?
Answer Posted / kcsyam
Define a Data Structure in ILE RPG.
D New_File E DS EXTNAME(Old_File)
D New_Field1 E EXTFLD(Old_Fld1)
D New_Field2 E EXTFLD(Old_Fld2)
You can use PREFIX keyword instead of EXTFLD on different
way
| Is This Answer Correct ? | 20 Yes | 1 No |
Post New Answer View All Answers
do you use message subfiles? What are the necessary keywords required coding a message subfile?
how do I declare a table or array in rpg iv?
what is program status data structure?
How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve 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?
what is the use of sflnxtchg?
How to handle duplicate error handling in RPG?
How many program bind in one module....
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
How to declare the pull button in AS/400..
How to write record if no field or the field are different in physical file in rpgle ?
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
When it is desirable to describe files Internally?
How can we know running job is batch or interactive?
Explain mdt?