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 |
what is post opcode do
I have a PF(ABC)with no key fields. PF(ABC)have 2 fields (cusno and cusname). Please let me know how can i read the cusno = 1150 directly from PF in CL and RPG program(Without creating the LF and without reading the complete file and then compare 1150)
1) How to define keyed file in CL pgm. 2) How can i read particular records in CL pgm from database file.
Are all these RPG/400 Interviewed Questions being asked recently? are current?
Is it possible to call a subfile using CL. IF yes.. kindly help me out with explanation...?
What is the difference between RPG/400 and RPG4
how to display all the members records in a physical file without using ovrdbf?
1.I Have a physical file , i want to read the data from the each and every member of the File in the CL Program.How do you achieve this. 2.How do you do the same in RPG?. do think is it possible to read data from all the members in the RPG?
What are different ways to pass data between programs and which one is the efficient way?
Explain mdt?
1..Write an sql query to find the employee name who is having 2 phone numebr? 2.Write an sql query to the the second highest salary of the employee?
You have a *USE authority on a Library and *All authority on a file in that Library.Can you change the data in that file?