how to retrieve RRN value in RPGLE program
Answers were Sorted based on User's Feedback
Answer / narendra
There are many ways to retrieve the value of RRN in RPG. One way is to use the INFDS (File information data structure) and in data structure define the RRN from pos 397 to 400.
Another way is to use the Keyword RECNO(RRN) while defining the file in the F Spec.
| Is This Answer Correct ? | 0 Yes | 0 No |
What would be the result on writing a data record to a PF file using the "WRITE" opcode after the SETON *ON *INLR statment?
if i have three programs progA,progB and progC .now i call progB from progA. but the progB does not exist . now i want to call progC instead of starting dump. how can we achieve this.
why subproc not run in dftactgrp?????/plz explain
How can we receive values from a called procedure in RPG?
1.Coding in cl to send an message? 2..What is turnover and use? What are the different levels?
In a particular program one file is used where override command is applied to a file, now this program calls another program where we want to use the same file but without override.How it can be done?
When it is desirable to describe files Internally?
Suppose you have 3 members in a database file. How to read records from all the members without using CL (OVRDBF) i.e. Entire process should be handled exclusively in a RPG program?
How to find d key field of a pf that doesn’t have source physical file?
how does the rpg element work?
Difference between creating a report using Printer file and WRKQRY(Query Report) ?
How do you code file / field renames in ILE RPG?