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

what are the two record formats a subfile contain ?

1 Answers   IBM,


How to reverse a string using RPG?

0 Answers  


what is the purpose of putovr (put with explicit override) keyword?

1 Answers   IBM,


what is data structure?how many types of data structers?

4 Answers  


Which of the following operations does NOT zero the field FLDA defined as 4,0? C MOVE *ZEROS FLDA C Z-ADD *ZEROS FLDA C Z-ADD 0 FLDA C MOVE *ALL'0' FLDA C SUB FLDA FLDA C MOVE '0000' FLDA C CLEAR FLDA C MOVE *BLANKS FLDA

1 Answers  






distinguish between terminating a program through seton lr and return?

0 Answers   IBM,


Specify different indicators used in RPG?

1 Answers  


at what level s,o are defined and what they will do?

1 Answers   IBM,


What are the different types of access paths maintained on the file?

1 Answers  


How to read 2 positions at a time in a data area? I have created a data area of length and i have to read the values of the data area like 91-92,93-94 at a time up till 100

3 Answers  


What is the exact difference between Service Program and Binding Directory?

1 Answers  


What is the maximum number of elements in an array?

1 Answers  


Categories