How to create a key field for a logical file inside RPG?
Answers were Sorted based on User's Feedback
Answer / rajesh n
In D Spec use KFLD and key field name.
Example:
KFLD Fld1.
Is This Answer Correct ? | 5 Yes | 6 No |
Can we found a record existance in a file w/o reading the file?
6 Answers Traitsys Technologies,
what is program status data structure?
1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors?
What is the difference between ITER and DO ? I know both are used to execute set of statements repeatedly, but what is the main difference?
Can more than one subfile record be displayed on one line?
Mr.Sidc sirfor my question{how to convert date format from one format to another i think in CL/400 its CVTDAT,Please tell in RPG/400 sir not in RPGILE} you have answered using MOVE opcode,can you illustrate me with a small example sir very kind of you.
1)how to do date validation in rpg? 2)how to delete dUPLICATE RECORDS?
What will be the value of STRING after line 0106 is executed in the code below? 0101 E* Fromfiletofile..tabnameprnentlenpdatabnamlenpda 0102 E ARR 8 1 0103 ISTRING DS 0104 I 1 8 ARR 0105 C MOVE *BLANK STRING 0106 C MOVEA'ABC' ARR A) 'AAAAAAAA' B) 'BBBBBBBB' C) 'CCCCCCCC' D) 'ABC ' E) ' ABC'
how do I declare a table or array in rpg iv?
How do you code file / field renames in ILE RPG?
Can anybody tell me that why we use option(*nodebugio)in H- Spec?
i 'm new to as/400.in an interview i was asked this question.give a practical example for passing information or data through local data area. I know only that data area is an object used to store tiny bits of data or it can store one value at a time and it is used to store frequently changing values or datas.thats all i know about data area can any one tell me how local data area and user defined data area are used to pass data between jobs with a example or coding.thanks in advance.