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 / manan---as400 so cute
CL
This can be done by two ways :- a)ovrdbf b) opnqry
RPG
This can be done by SETLL + READE or READ and the second
requirement by COMP
Cheers
| Is This Answer Correct ? | 6 Yes | 13 No |
Post New Answer View All Answers
Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?
How would display prime numbers using CL program?
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.
what do you mean by an input subfile, what are the keywords required?
What is the difference between iter and do?
is this a rpg channel?
what is *place and *auto keyword in prtf ?plz explain
what is kids-rpg?
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?
what is data area and how it is used in rpg program ?
are there any useful c runtime apis that I can call from rpg iv?
what is an online rpg?
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
Explain mdt?