1.I Have a physical file , i want to read the data from the
each and every member of the File in the CL Program.How do
you achieve this.
2.How do you do the same in RPG?. do think is it possible to
read data from all the members in the RPG?
Answers were Sorted based on User's Feedback
Answer / sivaprasad
in CL
by OVRDBF we can load the data from all members in file.
OVRDBF FILE(INPUT) TOFILE(PAYROLL) MBR(*all)
in RPG
by EXTMBR(*all) can load the data from all members in file
Is This Answer Correct ? | 18 Yes | 0 No |
Interviewer asked me write down DDS for load all subfile .can anybody write dds
Hello, I want to extend a length of field in my Display file(Subfile). Please suggest the possible steps. Thanks
What is the Record Address file. How can we use it in RPG program?
How to set on/off a group of indicators in a single statement?
1.How can you search an entire source file for a particular field name? 2.How can you find the differences between two versions of the source for the same program? 3.What is a hidden field as it relates to a sub file? 4.How do you display a sub file that has no records in the sub file?
how can we find setll setgt chain read reade readp operations are successfull or not,give example.explain in detail.
what are the parameters of jobd?give in detail.&what are the parameters of subsystem...????
1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.
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’
How we will read call stack?
If there are 1000 member(PGM type) in a SRC file. How can we compile in a CL program? ( It need to be done in a loop)?
When will DUMP & DEBUG be ignored?