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
1. "CVTOPT(*DATETIME) in header specification.
2. "Type conversion options . . . . CVTOPT" = *DATETIME in
|Is This Answer Correct ?||4 Yes||0 No|
Answer / david lex
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
|Is This Answer Correct ?||0 Yes||0 No|
Hi guys. Im in AS/400(RPGLE,CLP) from last 1 year.Now i wan to upgrade my Knowledge in AS/400. Suggest me some new fields & courses which falls under AS/400. Waiting for your quick Response.
How to declare the dynamic(run time) array in rpgle? can you please give example
What is use of IMPORT and EXPORT in RPGLE ? What is activation Group ? What is Service Program ???? How to call another program in RPGLE ?
Interviewer asked me write down DDS for load all subfile .can anybody write dds
How to find d key field of a pf that doesn’t have source physical file?
As400 Command to find the Name of the Program to which a Particular Module is Bound..? Ex: IC210AMR (*MODULE) is bound with Other Modules which Forms Program Object as IC210ABP(*PGM) . As400 Command to find the IC210ABP Using IC210AMR..? Thanks
1.How to read a subfile in out put mode? 2.what are the keywords used to share same file? 3.using composite key which rpg code used?
How to code Page up and Page down in RPG for Single page subfile without using ROLLUP/ROLLDOWN in DSPF ?
When it is desirable to describe files Internally?
1.I have a Batch job, Running for 4 hours, i want to reduce the executing time to 2 hours what should you do?
how to retrieve particular field records from a physical file,say i have a physical file called 'employee' in it i have to retrieve the records of a field 'admin' present in pf 'employee' using rpg,but i should not use logical file or openquery file.
How can you delete a record from a file in RPG without using DELETE oppcode?