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



What is the compilation option that has to he specified while compiling an RPC program which uses ..

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

What is the compilation option that has to he specified while compiling an RPC program which uses ..

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

What is the compilation option that has to he specified while compiling an RPC program which uses ..

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



Post New Answer



More RPG400 Interview Questions

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.

1 Answers   Voltech,


How to declare the dynamic(run time) array in rpgle? can you please give example

2 Answers   Polaris,


What is use of IMPORT and EXPORT in RPGLE ? What is activation Group ? What is Service Program ???? How to call another program in RPGLE ?

1 Answers  


Interviewer asked me write down DDS for load all subfile .can anybody write dds

0 Answers  


How to find d key field of a pf that doesn’t have source physical file?

2 Answers  






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

5 Answers   CTS,


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?

3 Answers   HSBC,


How to code Page up and Page down in RPG for Single page subfile without using ROLLUP/ROLLDOWN in DSPF ?

3 Answers   HCL,


When it is desirable to describe files Internally?

0 Answers  


1.I have a Batch job, Running for 4 hours, i want to reduce the executing time to 2 hours what should you do?

5 Answers   Cap Gemini,


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.

3 Answers   Wipro, iGate,


How can you delete a record from a file in RPG without using DELETE oppcode?

2 Answers   UST,






Categories