What is the compilation option that has to he specified
while compiling an RPC program which uses a file having
date data type field?
Answers were Sorted based on User's Feedback
Answer / onlysumitg
use
1. "CVTOPT(*DATETIME) in header specification.
or
2. "Type conversion options . . . . CVTOPT" = *DATETIME in
coppilation option.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / david lex
NONE.
One is not REQUIRED to use the DATFMT H spec to compile any
program accessing date data types.
That being said, DATFMT will keep date data types
consistent when read from files, but individual stand alone
variables are not affected.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / zhang
RPC or RPG?
In rpg program, use Datefmt(Any valid date format) at H
specification
| Is This Answer Correct ? | 0 Yes | 0 No |
How to search particular records from the database file in rpg?
Why we cannot call a service program? If I add a PEP can i call the service program?
How to create a key field for a logical file inside RPG?
Hello, I want to extend a length of field in my Display file(Subfile). Please suggest the possible steps. Thanks
What does Implicit Open means with respect to a file ? What about the Explicit Open?..what are the major differences between these two?
what is importance of 'MAPFLD' IN OPNQRYF FILE ?
Interviewer asked me write down DDS for load all subfile .can anybody write dds
what is the difference between SETON RT & RETURN?
Hi friends, I am using a load all subfile , and currently i am in in the third page of the subfile , from third page i have selected a record and called some other program .on returning, subfile is being loaded from the frist page. so can any one kindly suggest me in retaining my third page after returning. i.e loading from third page.
How do you call procedures in ILE?
how do u find whether a record is locked or not??
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.