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

What are the record format field mapping options in cpyf?

0 Answers  


How to inner join more than 2 PFs in a CL program using OPNQRYF command?

1 Answers  


in conjunction with what other keyword must ovrdta and ovrata be used?

1 Answers   IBM,


What is the difference between /copy and /include in RPGLE?

1 Answers  


how do you detect unused spool storage?

2 Answers  






What is the maximum length of a variable name in CL?

1 Answers  


distinguish between terminating a program through seton lr and return?

0 Answers   IBM,


Which of the following operations does NOT zero the field FLDA defined as 4,0? C MOVE *ZEROS FLDA C Z-ADD *ZEROS FLDA C Z-ADD 0 FLDA C MOVE *ALL'0' FLDA C SUB FLDA FLDA C MOVE '0000' FLDA C CLEAR FLDA C MOVE *BLANKS FLDA

1 Answers  


How to add 99 menu (page down) option in menu creation..

0 Answers  


What is the function of DSPATR (display attributes) keyword?

1 Answers  


How can you check the existence of object in a system?

1 Answers  


what is the function of cpyf command?

1 Answers   IBM,


Categories