how to convert date format from one format to another i think
in CL/400 its CVTDAT,Please tell in RPG/400 sir not in RPGILE

Answers were Sorted based on User's Feedback



how to convert date format from one format to another i think in CL/400 its CVTDAT,Please tell in ..

Answer / sidc

use MOVE keyword

Is This Answer Correct ?    5 Yes 4 No

how to convert date format from one format to another i think in CL/400 its CVTDAT,Please tell in ..

Answer / latha

using H Spec
We can use it some functions like change of date format.
only one H Spec is allowed in RPG3. if we didn't specify
then SEU automatically include it as first statement.
We can use many H Spec in RPG4

Is This Answer Correct ?    0 Yes 0 No

how to convert date format from one format to another i think in CL/400 its CVTDAT,Please tell in ..

Answer / nitin

I think using data structure and MOVE operation it will be easy to convert date from one format to other

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More IBM AS400 AllOther Interview Questions

how can you detect overflow for a print program that prints multiple lines per cycle?

1 Answers   IBM,


What are all the different types of access path?

1 Answers  


WHAT IS AS/400 SYNORIO?

0 Answers   CTS, EDS,


What are all the compiler directive statements?

1 Answers  


how do u compile rpgle program?

0 Answers   IBM,






How to change file attributes such as size, file wait time, record wait time etc., permanently?

1 Answers  


what is join logical file?

1 Answers   IBM,


what are the three line types in rlu ?

1 Answers   IBM,


Hi Friends, I need immediately answer for this: Senario is that,I am selecting records from the display and window subfile on the basis of Reason Code and some more fields but spool file not showing the same records which i have selected by display and window subfile. Q.What could be the causes(resons)to not show records properly (just selected in the display file and Window subfile)according the selection criteria of the records. Q.What would be the solutions to show records properly in the spool file just as selected in in the display file and window subfile according to the selection criteria.

1 Answers   IBM,


Which is better LF or OPNQRYF ? When should we use LF and when should we use OPNQRYF ?

5 Answers   HCL,


How to reverse a string using RPG?

0 Answers  


Is it necessary to define all formats ? Which are mandatory and which are Optional ?

1 Answers  


Categories