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 |
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
Let?s consider a variable X of length 20. Move value ?ABC? to it.How to determine how many characters does X have?
what is use of sflnxtchg and use of MDT(modify data tag).both r same r not and can we use these on dspf and subfile.
are there any useful c runtime apis that I can call from rpg iv?
Can anybody tell me in which scenario we have to use SQLRPG .(Embeded SQL)....?
how do I play {insert rpg system here}?
Why did we give STRSRVJOB while debugging batch program
What is difference between bind by copy and bind by reference?
Hi, Can any body tell me ur experience on this questions? Questions: 1.what is the use of SFLRCDNBR other than subfile page display? 2.Which of the following operation cannot be used in conjuction with a file coded as device type disk?
What will be the value of STRING after line 0106 is executed in the code below? 0101 E* Fromfiletofile..tabnameprnentlenpdatabnamlenpda 0102 E ARR 8 1 0103 ISTRING DS 0104 I 1 8 ARR 0105 C MOVE *BLANK STRING 0106 C MOVEA'ABC' ARR A) 'AAAAAAAA' B) 'BBBBBBBB' C) 'CCCCCCCC' D) 'ABC ' E) ' ABC'
how can an indexed file be used as arrival sequence in RPG?
how to change the length of the field in a physicalfile?