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 |
Suppose i am having 3 programs PgmA,pgmB,pgmC and using source debugger. At debugging time i found that pgmC having some code error..then in debug mode directly how can i debug pgmC
in which journalling which attributes are necessary??/
How to sort an array in descending in RPG
What would be the effect on the field where reverse image, underline and high intensity?
how can I tell when to replace the array?
What you have to do in the display file when you are using message subfile?
How to select highest score of each subject or how to select highest income of every month?
1.Write code to read the records from a file and load an array of size 99? Make sure that you take care of all the error conditions?
how can we find setll setgt chain read reade readp operations are successfull or not,give example.explain in detail.
check existence of one record without using chain or read?
Suppose in CL we reach at end of file and again we have to reach from 1 record
suppose i i am changing / updating record of subfile and i want to change the record in reverse order . means i want to change the bottom record first and so on through readc . how i do it please any one explain .