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 |
how can an indexed file be used as arrival sequence in RPG?
1.What is the Maximum field length we can declare in RLU?? 2. What is the difference if your designing RLU using DDS and using the option 19 for the RLU??
when will come session device error?
Q1.How we can copy the data of file one session to another session? Q2.how we can execute a loop infinitely in AS/400 coding? Q3.In ALDON tool,multitask is posible on a perticular object by the user?
How do you call procedures in ILE?
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
What is SFLNXTCHG keyword why it has used and where? Briefly explain with Example.
How can we search particular records from the database file in RPG. For example, there are 100 records in the file.i need to retrieve all the records matching/equal to the particular 'NAME' field. How can we do the above using SEARCH criteria other than using the IF cond?
what is plat file?
1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?
1.If *HIVAL SETGT is used what opcode is used to read a record? A:READ B:READPE C:CHAIN D:READP 2.How to pass numeric parameter to the rpg pgm from the command line? 3.What keyword is used on the rpg 4 definition specification to rename a subfile in an externally definition data structure? A:RENAME B;LIKE C:EXTNAME D:EXTFLD
difference between CHAIN and READE?