Can we have a Physical file without any member ? Please let
me know
Answers were Sorted based on User's Feedback
Answer / gurjit oberoi
Yes we can have a PF without a member. while comiling the
file we can give member option - None . which will not
create a member. But in order to store data and access it
member is required.usually we create a filed referece file
with member *None.
| Is This Answer Correct ? | 21 Yes | 1 No |
Answer / anupam banerjee
While creating a physical file......if we put the option as
*none the PF gets created but we cant do a UPDDTA to add
records in that PF.
| Is This Answer Correct ? | 13 Yes | 0 No |
Answer / saravan
As I know, while creating any PF, a default member will be
created. And the default member name will be equal to the
file name.
| Is This Answer Correct ? | 10 Yes | 0 No |
Answer / samul
Sebas,My answer was specific to his/her question...
But before performing any action on PF, member should be
there.
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / girish
Yes this is possible to create PF without member,by putting
option member *none which will creat field refence file.
| Is This Answer Correct ? | 8 Yes | 1 No |
Answer / prasanna
We can create a physical file with no member when you try to
compile the file , opn. <Member if desire>. Mention it as
*none . This will have the structure and the source code but
not the data
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / sebas
Samul, could you please explain on this in detail
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / karthik
yes absolutely. Create a PF member. Then, create a PF by
copiling option and then delete the member. You can retain
only the object and delete the source file. :)
| Is This Answer Correct ? | 0 Yes | 3 No |
1.find most occurrences of a character. for exm: input:aaabbbbdddddyyy output: d 5 times how can i get that?
If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?
HI, 1: WHAT IS THE FUNCTION OF %KDS?WITH PROGRAMMING CODES EXAMPLE 2: WHAT IS THE FUNCTION OF Z-ADD AND Z-SUB ? WITH PROGRAMMING CODES EXAMPLE
how to retrieve particular field records from a physical file,say i have a physical file called 'employee' in it i have to retrieve the records of a field 'admin' present in pf 'employee' using rpg,but i should not use logical file or openquery file.
1.How you will find the program is batch or online in cl pgm? 2.How you will end the batch pgm when the job runs? write an logic? 3.In wich command the option *drop is used?
Difference between RESET and CLEAR
when will come session device error?
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
how do u track msg in cl pgm???
what is data area and how it is used in rpg program ?
I want to declare the number of elements of an array dynamically in RPGLE ? Is it possible? If yes, then how do I do it ?
Can somebody tell me that, Is it possible to read all the member of PF without OVRDBF?