i have 1000 records in pf.what are all the ways to read a
particular name records in rpg?? ie.. in pf i have a name
called demo appeared around 52 times hw will we read this
particular records in rpg/400?.
Answers were Sorted based on User's Feedback
Answer / xxx
setgt and then a readpe will read 52 times then it will
throw EOF.
Is This Answer Correct ? | 0 Yes | 3 No |
what is difference between DSPFD and DSPFFD?please give me real senario with good example?
How can we change element of compile time array?Can we do so
2. Which of the following statement(s) explains the difference(s) between the /INCLUDE and ICOPY directives? a.) No difference, they function the same b.) ACOPY cannot be used as a conditional directive c.) IINCLUDE files cannot contain embedded SQL d.) Nesting /TNCLUDE directives is not allowed
In case if I want to know whether a record exists in a file, which one do you prefer CHAIN or a SETLL and why ?
Can we trigger an rpg program which has user interaction with display file when updating a file using the command ADDPFTRG?
Whether a module can consists of many procedures or it can consist of subprocedures having a main procedure?If it is possible that it can contain many individual procedures than can we have different name for complete module and how do we call this module in main modul?
give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........
In how many ways a session/device error occurs,,, and what is the remedy for it?
what is flat file?
What is the difference Return and InLr?
How can we make use of SETLL operation in CL?
i)What is the command to lock a file in a program ii)2. Can you get a level check error in a CL program