Answer Posted / jvn
Declaration of file
F abcd UF A F 100 10 A I DISK
KEYLOC(1)
file name pgm desc Record len Key len &type
The above file type declaration means file 'ABCD' is a
program described file of record length 100, key field
length 10 of type character and the file is indexed with
the position of key field starting from position 1 as per
the KEYLOC value.
I abcd xy
I 1 11 keyfield_name
They key field can be subsequently defined as per the
example above.
Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?
What is difference between bind by copy and bind by reference?
what is the rpg system?
what do you mean by an input subfile, what are the keywords required?
which program rpg or cl is efficent to update a transaction onto a database file and why ?
during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.
How would display prime numbers using CL program?
What is file identifier where we can use?
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...
1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors?
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
what is program status data structure?
is this a rpg channel?
What are the types of identifiers?
write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen