Can we have a Physical file without any member ? Please let
me know

Answers were Sorted based on User's Feedback



Can we have a Physical file without any member ? Please let me know..

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

Can we have a Physical file without any member ? Please let me know..

Answer / samul

Yes, we can have PF without member.

Is This Answer Correct ?    16 Yes 2 No

Can we have a Physical file without any member ? Please let me know..

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

Can we have a Physical file without any member ? Please let me know..

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

Can we have a Physical file without any member ? Please let me know..

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

Can we have a Physical file without any member ? Please let me know..

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

Can we have a Physical file without any member ? Please let me know..

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

Can we have a Physical file without any member ? Please let me know..

Answer / sekhar214

WE CAN CREATE,

CRTPF (MBRNAM) MBR**NONE)

Is This Answer Correct ?    1 Yes 0 No

Can we have a Physical file without any member ? Please let me know..

Answer / sebas

Samul, could you please explain on this in detail

Is This Answer Correct ?    0 Yes 1 No

Can we have a Physical file without any member ? Please let me know..

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

Post New Answer

More RPG400 Interview Questions

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

2 Answers  


in which journalling which attributes are necessary??/

1 Answers   CTS,


How to sort an array in descending in RPG

3 Answers   Google, TCS,


What would be the effect on the field where reverse image, underline and high intensity?

7 Answers   IBM,


how can I tell when to replace the array?

0 Answers   IBM,






What you have to do in the display file when you are using message subfile?

1 Answers  


How to select highest score of each subject or how to select highest income of every month?

0 Answers  


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?

2 Answers   HSBC,


how can we find setll setgt chain read reade readp operations are successfull or not,give example.explain in detail.

4 Answers   iSoft, Wipro,


check existence of one record without using chain or read?

1 Answers   IBM,


Suppose in CL we reach at end of file and again we have to reach from 1 record

3 Answers   TCS,


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 .

4 Answers   CSC,


Categories