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 is an ICF file?

1 Answers  


maximum number of subfiles that can be active for a single file is?

1 Answers   IBM,


What is dynslt?

0 Answers  


how a varible can be passed to a subfile...accnt1 contain data in a data area..ie Daccnt1 uds,Daccnt2 3 overlay(accnt1:1), DNo 4 overlay(accnt1:4)..we want to transfer this dataarea value from acnt0001 to a subfile..that means to enter each record we have to incriment account no,, i normal window we can do move accnt1 account_no eval account_no=accnt1 eval no=no+1 exfmt usr_account how it possible with Subfile????????.Please do answer? (Thank you for all your answers dear friends!!)

1 Answers   CTS,


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

3 Answers   iGate,






what is the length of a variable in rpg?

1 Answers   IBM,


What is the default value for the number of increment for the physical file?

1 Answers  


HOW CAN WE ENTIRE OBJECTS& IT'S TYPE IN PGM?

1 Answers  


define data structure?

1 Answers   IBM,


describe the difference between the dowxx and douxx operations?

1 Answers   IBM,


define what a data area is along with a brief example of what it may be used for?

1 Answers   IBM,


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?

2 Answers  


Categories