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

1)how to do date validation in rpg? 2)how to delete dUPLICATE RECORDS?

12 Answers   IBM, Opus,


1.The questions have given an array declaration and move operation then this statement is correct or not?

3 Answers   TCS,


Is it possible to call a subfile using CL. IF yes.. kindly help me out with explanation...?

3 Answers  


Maximum how many files declare in rpgle

3 Answers   TCS,


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

0 Answers  






i hav 2 logical files(L1,L2) both r derived from one physical file(P1). how can i use both the logical files in one RPG program? if yes what i have to d.

5 Answers   TCS,


Im traying to get out put of this below mention simple logic code.But im geting out of different.(im trying with my laptop trhough my company server. DCL &FIELD1 *CHAR 10 VALUE('TCS AS/400') DCL &FIELD2 *CHAR 10 CHGVAR(%SST(&FIELD2 1 10))(%SST(&FIELD1 10 1) Can you tell me the value of field2 after excuted of CHGVAR command.

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,


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

0 Answers  


In how many ways a session/device error occurs,,, and what is the remedy for it?

3 Answers  


Hi, can any one tell me :IN CASE OF SINGLE PAGE FILE HOW WILL I LOAD THE PREVIOUS PAGE WITHOUT THE USE OF SFLCLR INDICATOR ?

3 Answers   IBM,


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?

4 Answers  


Categories