how to display all the members records in a physical file
without using ovrdbf?
Answers were Sorted based on User's Feedback
Answer / reecha
The question mean to display the records in particular
members of Physical file ...this can be achieved by
EXTMBR(member name) along with the file in f specs
as it is clearly mentioned that OVrdbf is not allowed ...
....Reecha
| Is This Answer Correct ? | 11 Yes | 2 No |
Answer / rajesh
using non-join logical file(single format)file we can
display all members records.
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / guru
use EXTMBR('*ALL') in file specification.
Regards,
Guru
| Is This Answer Correct ? | 11 Yes | 3 No |
Answer / surya siram
By using EXTMBR(*ALL) keyword we can able to read the data in physical file for each member sequentially. By using file information data structure, we can able to know which member is reading currently.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / amol
If we want to see all records of memebers without using a
OVRDBF ,we use DSPFD command or creating a non join logical
file based on that particular p.f.
| Is This Answer Correct ? | 0 Yes | 12 No |
How to update physical file in rpgle without using display file?
parameters cannot be passed in which one???
what is difference between DSPFD and DSPFFD?please give me real senario with good example?
Can any body give the code for this quesition? Using the following details write C-Spec code to set Name to"AMMU LABS SYSTEM" D NAME1 S 10 INZ('AMMU') D NAME2 S 10 INZ('LABS') D NAME3 S 10 INZ('SYSTEM') D NAME S 20
1.String operatio such as moving the characters to the variables? 2.what are the building functions for check file longs? 3.which of the following methods will make externally describe file fields available to a program? A: A/copy statement that specifies the library file and member of the field reference file source code B: A data structure definition specification that names the file on the EXTNAME keyword C: A data structure definition specification that names the file on the IMPORT keyword? D: A Definition specification for each desired field with the REFFLD keyword
Hi all friend, Could Any body send me the code (with coding) of this senario because I have tried but I am stucking somewhere so Please reply ASAp with coding. senario:Q: I have to write the flat file(FLAT1) into the three different PFS (PF1,PF2 and PF3) with the respect of H line data, D line data and Z line data of flat file. where I have different data in flat file(FLAT1) which is mentioned below with data. H0929200909282009092820095529420003000073 D2222220006765555webservi001633.9909222009092820090924200951 8564380134049ROSNER TOYOTA OF FREDE FREDERICKSBURVA 224080000USA840840001633.99001633.99851856492689800208001915 511001633.990408490000000.0000000003446048 1,3 110793145 09070700351 372367 Rosner Motors D3333320006774444webservi000271.2409222009092820090924200951 8564380134049ROSNER TOYOTA OF FREDE FREDERICKSBURVA 224080000USA840840000271.24000271.24851856492689800208001835 511000271.240930680000000.0000000003450293 1 110793254 09072100079 373933 Rosner Motors Z0929200900000020001905.25 FLAT1 has the three pf data H line-represents the header pf data,D-Represent Details pf data,Z-Represents the trailer pf data Now I have to write H line data of flat file into Header pf (PF1),D line data of flat into datails pf(PF2) and Z line data of flat file into pf(PF3) with the spefic position(H,D and Z data of flat file into PF1, PF2 and PF3) of flat file.
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?
I am reading a file in CL program. and MONMSG CPF0864 has arrived means EOF has arrived. Now i want to read this file again. How i can do this?
5 Answers CitiGroup, Symphony,
How to read a record from file where there is multiple record occurrence is available?
how can an indexed file be used as arrival sequence in RPG?
what is an online rpg?
what is flat file?