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 |
I have file with data as follows data 1 2 3 4 5 I need to read 1 and 5 ,then 2 and 4 then like.. upto end of file, can any one help on this
3. Given the DOS Specification below and the following information: • Indicator 50 is off • No records have been written to the subfile What will be the result if the EXFMT operation code is performed on the record format CTLR? A R SUBFL A DESCRIP 101 6 1ODSPATR(UL) A DFT(’NOT FOUND’) A R CTLR SFLCTL(SUBFL) A N50 SFLDSP A SFLDSPCTL A SFLINZ A 67 SFIJEND A SFLSIZ(13) A SFLPAG(12) A ACCOUNTNO 100 S 10 a.) Only AccountNo will display b.) SUBFL will be initialized with 13 blank records c.) An I/O exception error will occur d.) The screen will display 12 records with ‘NOT FOUND’
What is the purpose of record level identifier?
what is use of sflnxtchg and use of MDT(modify data tag).both r same r not and can we use these on dspf and subfile.
What are the types of identifiers?
check existence of one record without using chain or read?
I have a Physical File name 'File1', which is present in two libraries named 'LIB1' & 'LIB2'. These 2 libraries are listed in the library list. Would like to access data from this file from these two libraries using RPG program. How to do this, any idea?
What does Implicit Open means with respect to a file ? What about the Explicit Open?..what are the major differences between these two?
If record-format name in an externally-described file has already been defined as a file-name.how to solve this?
i have a file with the values 10, 20, 30, 40, if am setll with the value 25 then readp, so what it will return?
Some times While checking MSGW for object / member / record locks ,I have seen it's locked by itself ...? How it happen and what action we need to perform if job is updating / writing a record....?
Assume my file has 100 records and I want to see only first 10 records. Is this possible through lf?