Can we used ovrdbf command after the opnqry file if yes then
What will be out put of your program?
Answers were Sorted based on User's Feedback
Answer / naveen chandra joshi
No. we can not use OVRDBF command after OPNQRYF command if
we do so then program will give error as the OPNQRYF
command expects the Open Data Path to share before
processing.
I tested the program and then posting the answer.
Regards,
Naveen,
9891501280.
| Is This Answer Correct ? | 17 Yes | 1 No |
Answer / ss
OVRDBF command before OPNQRYF because it will make the ODP *yes.
If the ODP is *yes then only the changes will be reflected in next calling program.
If the ODP is *no then there is no use of opnqry because data will not be reflected in next calling program.
| Is This Answer Correct ? | 0 Yes | 0 No |
steps involved in debugging and types of debugging modes?
Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.
Im traying to get out put of this below mention simple logic code.But im geting out of different.(im trying with my laptop trhough my company server. DCL &FIELD1 *CHAR 10 VALUE('TCS AS/400') DCL &FIELD2 *CHAR 10 CHGVAR(%SST(&FIELD2 1 10))(%SST(&FIELD1 10 1) Can you tell me the value of field2 after excuted of CHGVAR command.
How many program bind in one module....
What will happen if we r using seton lr after return or vice versa.
3. Given the DOS Specification below and the following information: • Indicator 50 is off • No records have been written to the subfile What will be the result if the EXFMT operation code is performed on the record format CTLR? A R SUBFL A DESCRIP 101 6 1ODSPATR(UL) A DFT(’NOT FOUND’) A R CTLR SFLCTL(SUBFL) A N50 SFLDSP A SFLDSPCTL A SFLINZ A 67 SFIJEND A SFLSIZ(13) A SFLPAG(12) A ACCOUNTNO 100 S 10 a.) Only AccountNo will display b.) SUBFL will be initialized with 13 blank records c.) An I/O exception error will occur d.) The screen will display 12 records with ‘NOT FOUND’
What is journalling and commitment control?
two attributes which govern the excecution of a job>>>>??
When will DUMP & DEBUG be ignored?
To check the locks , we use cmd WRKOBJLCK , but how we confirm whether it's objeck lock / member lock. I confused with the Lock type and Status values...Can any body please tell me ...
As Packed veriable store 2 digits in 1 byte and ZONE variable store 1 digit in 1 byte... Please tell me when we have to use Packed and Zone variable...?
How to code Page up and Page down in RPG for Single page subfile without using ROLLUP/ROLLDOWN in DSPF ?