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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why we are not able to perform insert delete and update operation in Join logical file?

1220


why is the declare cursor statement is used for?

840


an access path may be in which sequence?

912


if we tried to move year part of *iso date into a field of length 3, what will happen ?

895


what is a keyed physical file?

1405


why do we use readc? What is sflnxtchg?

918


what is match field indicator?

1369


How to reverse a string using RPG?

1152


i am using non join multiple format my 3 database file is like that pf97 R REC ENAME ETENNO ESTATUS K ENAME pf98 R REC1 ENAME ESAL K ENAME PF99 R REC3 ENAME CRDCARD EID K EID & MY NON JOIN LOGICAL FILE IS ALSO SAME EXCEPT RECORD NAMES BEFORE I TRIED WITH 2 FILES SO ITS SAYS ERROR I.E.(Key field attributes must be same as for previous formats. ) SO I CHANGED KEYFIELD ACCORDING TO PF SO ITS WORKING BUT AFTER ADDING 3 FILES ITS SAYING SAME ERROR . I DONT KNOW I NEW IN AS400 PLLZ HELP ME I HAVE ONE MORE QUE. CANT BE USE DIFFERENT KEYFIELD (NOT ACCORDING TO PF) IN NON JOIN LOGICAL FILE.

1267


What are the mandatory keywords of sub file?

1131


What Is Ddm ?

1377


how can you execute a command from within an rpg program without calling a clp program?

1590


what does check opcode do ?

1482


what the purpose of ovrdta, ovrata keywords?

1597


what key word is used when screen is re-display?

876