I have a PF(ABC)with no key fields.
PF(ABC)have 2 fields (cusno and cusname).
Please let me know how can i read the cusno = 1150 directly
from PF in CL and RPG program(Without creating the LF and
without reading the complete file and then compare 1150)

Answer Posted / mayank taneja

In CL program:
Ovrdbf and opnqryf

In RPG Program:
SQLRPGLE

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is file identifier where we can use?

640


explain sflclr, sflend, sfldlt, and sflcsrrrn?

885


how can I tell when to replace the array?

699


What is the difference between copybooks and subprocedures in as400?

802


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

2514






what is the difference between do while and do until?

701


can you debug ile rpg program using isdb?

735


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

827


Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?

512


how do I declare a minor?

712


how do I declare a table or array in rpg iv?

734


how do I preserve and clean the array?

670


how do you use commitment control in rpg?

756


what is kids-rpg?

662


what is data area and how it is used in rpg program ?

753