How can i keyed a flat file in RPGLE

Answer Posted / rajesh

YOU CAN CREATE A LF WITH KEY

R PF1 PFILE(PF1)
K PF1

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400

1895


How to handle duplicate error handling in RPG?

1680


what is *place and *auto keyword in prtf ?plz explain

2725


which program rpg or cl is efficent to update a transaction onto a database file and why ?

747


What is file identifier where we can use?

652






1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?

493


How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique

548


if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.

2199


what is file information data structure?

1374


how do I preserve and clean the array?

675


1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors?

2373


what do you mean by an input subfile, what are the keywords required?

773


is this a rpg channel?

681


How would display prime numbers using CL program?

5680


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

2519