How a field is renamed in rpg IV?..give answer with example?

Answers were Sorted based on User's Feedback



How a field is renamed in rpg IV?..give answer with example?..

Answer / sd

Prefix in F spec is another option.

Is This Answer Correct ?    9 Yes 1 No

How a field is renamed in rpg IV?..give answer with example?..

Answer / natraj

D Wrk_Rcd E DS EXTNAME(MyFile)
D Wrk_Field1 E EXTFLD(Field1)
D Wrk_Field2 E EXTFLD(Field2)

Is This Answer Correct ?    8 Yes 1 No

How a field is renamed in rpg IV?..give answer with example?..

Answer / sulthan

Field can be re-named using "I" specs

Is This Answer Correct ?    5 Yes 2 No

Post New Answer

More IBM AS400 AllOther Interview Questions

How to position the cursor on a display file at a desired location.

5 Answers   Four soft,


What is the difference between physical file and logical file?

0 Answers  


How to see all members of a file?

1 Answers  


What is a library list ?

1 Answers  


What are Triggers?

14 Answers   Ordain Solutions, Seabus Solutions,






What is SFLSIZ ?

1 Answers  


List the steps/commands necessary to accomplish the following: a. Copy data from the file ORDHDR into file ORDHIST b. The file ORDHIST may or may not exist c. If the file ORDHDR does exist, it may or may not contain data d. The file ORDHIST may or may not contain data, if the file does contain data the old data should be erased

1 Answers  


What is the purpose of SFLFOLD and SFLDROP keywords?

1 Answers  


What is keyword PFILE specifies ?

1 Answers  


how to read database records without locking them?

1 Answers   IBM,


What is the default access path of a file?

0 Answers  


what is qcmdexc?

1 Answers   IBM,


Categories