how can an indexed file be used as arrival sequence in RPG?
Answers were Sorted based on User's Feedback
Answer / sanpra
To achieve this on 'F' Spec leave the 'Record address type'
option as blank ( i.e. don't specify 'K' - Keyed or
anthying) .
Is This Answer Correct ? | 25 Yes | 1 No |
Answer / kamlesh
do not specify K for record address type in F spec.
Use RECNO(VRRN) keyword where VRRN is packed data type
having dec pos as 0 and has length enough to hold
largest RRN of ur PF.
Now move RRN in VRRN variable and apply
VRRN Chain FILE 99
ur required record is retrieved
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / ttom
How will chain be used if 'K' is not specified as address
type in the f spec
Is This Answer Correct ? | 0 Yes | 1 No |
Write the subfile logic program for the given concept. Load the data to the subfile depends upon the designation where designation is not a key field?
1.WHAT IS WRONG WITH THE CODE BELOW? C CUSTNO CHAIN CUSTMAST IF %ERROR can any body find the wrong please? 2.What builtin function will you use to achieve the following functionality? C QTY IFLT *ZERO C QTY MULT-1 QTY ENDIF
How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...
Hi, Can any body tell me ur experience on this questions? Questions: 1.what is the use of SFLRCDNBR other than subfile page display? 2.Which of the following operation cannot be used in conjuction with a file coded as device type disk?
what r drawbacks of OPM? Why do we go for ILE RPG?
Difference between RESET and CLEAR
What are the types of identifiers?
In ProgramB there is a SBMJOB, which is a call to program C .There is also a CALL to program D from B. How would you check the program C has been executed in D?
How to change the name of physical members Dynamically?
can we use cl programming to update or delete physical files
am 2010 passed out . can any one tell me which course is good to put 2+fake .guide me
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?