What is the compilation option that has to he specified
while compiling an RPC program which uses a file having
date data type field?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?

510


When it is desirable to describe files Internally?

1190


is this a rpg channel?

681


Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg

719


if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.

2201






1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?

494


what is the rpg system?

669


what is an online rpg?

731


can I touch the array during treatments?

759


what do you mean by an input subfile, what are the keywords required?

775


How to call one program from another program in RPG? please help me with the code

1261


how do you use commitment control in rpg?

759


Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?

1456


can you debug ile rpg program using isdb?

739


How to declare the pull button in AS/400..

1884