Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

do you use message subfiles? What are the necessary keywords required coding a message subfile?

1073


how do I declare a table or array in rpg iv?

1119


what is program status data structure?

2274


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...

1817


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?

894


what is the use of sflnxtchg?

1204


How to handle duplicate error handling in RPG?

2221


How many program bind in one module....

2603


What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?

2941


How to declare the pull button in AS/400..

2288


How to write record if no field or the field are different in physical file in rpgle ?

899


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

2349


When it is desirable to describe files Internally?

1644


How can we know running job is batch or interactive?

1044


Explain mdt?

1065