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?
How to check which are the pgms using 1 perticulate file.? I know there is many tool available for X-reference...but need to know is there any command available in the system...?
1) How to define keyed file in CL pgm. 2) How can i read particular records in CL pgm from database file.
When a object will be locked & when a record will be locked? Plz explain.
What is difference between bind by copy and bind by reference?
how to check on which PF , the LF is dependant ?
what is edit word and edit code
How to call one program from another program in RPG? please help me with the code
how can we find setll setgt chain read reade readp operations are successfull or not,give example.explain in detail.
1.The questions have given an array declaration and move operation then this statement is correct or not?
how to display all the members records in a physical file without using ovrdbf?
Whether a module can consists of many procedures or it can consist of subprocedures having a main procedure?If it is possible that it can contain many individual procedures than can we have different name for complete module and how do we call this module in main modul?