Assume my file has 100 records and I want to see only first 10 records. Is this possible through lf?
Answer / sagar sudhakar wagh
Yes it is possible through LF. We can use SELECT/OMIT keyword to filter the record of physical file according to our need.
| Is This Answer Correct ? | 1 Yes | 0 No |
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?
what r drawbacks of OPM? Why do we go for ILE RPG?
3 members in a databasefile .how to read records from all the members?????????
what is the rpg system?
I have a RPG program of 100 Lines and first line is to SETON indicator LR. Will the program execute rest of the 99 Lines?
how can I tell when to replace the array?
CAN WE READ RECORDS WITHOUT USING SETLL,READ,CHAIN IN RPG?
Please help me, I have created window subfile,I have created Footer with same lengh and postion of window SFL. When I call the pgm, first is shows only Footer and then it shows subfile records.This time Footer is not showsing ..plz hel me how can i do it...? Sameple DDS and RPG: A R WIN1 SFL A*%%TS SD 20090130 165346 MUNSHIJ REL-V4R2M0 5769- PW1 A FLD001 1Y 0B 4 3EDTCDE (Z) A ATFILE R O 4 7REFFLD (QWHFDBAS/ATFILE LIB/LIBF- A ILE) A R WINCTL SFLCTL (WIN1) A*%%TS SD 20090202 123459 MUNSHIJ REL-V4R2M0 5769- PW1 A ALTNAME ('y') A SFLSIZ (0004) A SFLPAG (0004) A WINDOW (FOOTER) A ROLLUP (27) A ROLLDOWN (28) A CF12 (12 'Cancel') A 50 SFLDSP A N51 SFLDSPCTL A 51 SFLCLR A 1 2'Select Option,Press enter' A 2 3'1= Select' A R FOOTER A* A WINDOW(8 31 9 43) A 8 4'F12 = Cancel' A R DUMMY ASSUME A 24 10' ' in RPG: Dow *IN12 = *Off Write Footer Fxfmt WInCTL
in which journalling which attributes are necessary??/
wat is scan and check ? give me real time scenarios where we used these keywords in ur projects?
How to print output from openquery in as400 ?
this is rpg3 code W0RTN IFEQ @CN,002 what is the means @CN,002