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|
What are the values of NUM1 and NUM2 after executing the following code? CLONO1NO2NO3 Factorl÷÷+OpcdeFactor2+÷+ResultLenDHHiLoEq C MOVE *LOVAL NUM1 50 C MOVE *J-fIVAL NtJM2 52
suppose a job is running for 15 minutes after that it goes to message wait? what are the impact analysis
In case if I want to know whether a record exists in a file, which one do you prefer CHAIN or a SETLL and why ?
thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400
1.How to load Records of a Physical file(PF) in the reverse order, in CL program?
Write the subfile logic program for the given concept. Load the data to the subfile depends upon the designation where designation is not a key field?
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 find whether a date format is valid or not in RPG400 not in RPGILE.Can you please write the coding for this sir,i'm new to AS400.Please help.
what is mean by *MAP and *DROP?what commands use these two keywords?why are they used?
How Commitment and Roll back control is used in as400, explain with real time senario ???
we are sending data of physical file to screen design and it is showing no record why?