why we sometimes use same file name in FILE and TOFILE in
OVRDBF and sometimes different??please tell
Answers were Sorted based on User's Feedback
Answer / madhusudhan
I understood your question.
To and From file will be same in the below scenerios for
the OVRDBF command.
1. When you want the different member of the same file.
2. When you want the same file in different Library.
There are more reasons for using OVERDBF other than these
also.
Is This Answer Correct ? | 13 Yes | 0 No |
Answer / mansi walia
In RPGLE if you want to declare the same file in more then
once mode(read/write/update)in this case you can override
the file with different name and declare the same file with
the overriden name.
for example:
In RPGLE if you want to open a file A in two different mode
one is Read and other is Update then you can override the
same file with two different name may be AA and AB and then
declare in your RPGLE program.
Is This Answer Correct ? | 7 Yes | 1 No |
Answer / upendra kachhwaha
There is one more use when you want to handle sharing of ODP created for the database member.
Also you can provide open scope to for better handling in different level(Job or Activation Group).
Is This Answer Correct ? | 1 Yes | 0 No |
WHICH REPLY CODE IS USED BT sftp ? ... (e.g.226 is used by FTP IF FILE IS TRANSFERED)
Pgm A is invoked through HTTP. It is in Activtion group QILE. Pgm A calls Pgm B and Pgm C. Pgm B is in activation group TEMPACTGRP. Pgm A ends in error. Pgm A is called again. But it gives an error that TEMPACTGRP still exists and files are present in QTEMP. What is the cause and how will u fix?
how we lock a pf???? what are the parameters used in this command.how we understand whether an object is locked or not?? using command .....we have to use *PSSR? and trough *status..how??.if we give an eg to me???pls answer me anyone..
Service Program : S1 Modules in S1 : M1 M1 having two procedures : ADD, SUB Current Binder Language STRPGMEXP PGMLVL(*CURRENT) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") ENDPGMEXP Doubt: I need to add one new Module to the Service Program M2 having one procedure ‘MULT’ How to add this new module to the service program S1 ? If I need to recreate the service program again, Do I need to mention the Module M1 again while recreating along with new Module M2? There is no Binding Directory. Binder language structure will be like this STRPGMEXP PGMLVL(*CURRENT) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") EXPORT SYMBOL("MULT") ENDPGMEXP STRPGMEXP PGMLVL(*PREVIOUS) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") ENDPGMEXP
How do you set the keywords SFLSIZ and SFLPAG if you want the subfile to dynamically expand?
How do you grant authority?
can you have multiple key lists for a single file ?
writing an sql statement from selecting records from two files using single statement and nested select statement.
Is it possible to add an keyfield or field to an Physical file without changing its file identifier. Example : - Say I have an existing physical file which is being used in 5 programs. Now I want to add an additional Keyfield or an field to it and I don't want to recompile the programs.
WHAT IS FERERENTIAL INTRIGRITY ?
how can a procedure will be added in to a srvpgm
What is the Function of PDM?