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
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 |
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 |
can a join logical file be updated?
Hi,Can any body give the code for the below mentioned quetion.?Im trying to get coding in with easily inderstanding.Plese give me the coding for this? 1.How would you achieve this requirement with out using RPG/RPGLE pgm,but by using only CL?Read a database file and display file contents on the screen when enter key pressed the next record should be displayed on screen.When the last record is reached or when F3 key is pressed the program should exit if the file is empty,a message should be displayed indicate that there are no records to display. Database file Name=EMPDBF Fields in EMPDBF to be displayed on screen Employee Number- EMPNUM(5,0) Employee Name- EMPNAM(30,A) Employee Address-EMP ADDR(50 A)
what is elastic and non elastic subrile?
Apart from opening of a file do we have any other use of USROPN?
What is the difference between regular logical file and join logical file?
When will DUMP and DEBUG opcodes be ignored?
What is the difference between non-join logical files and join logical files?
Can we debug the MSGW JOBS?
how to create physical file
What is the difference between iter and do? We know both are used to execute set of statements repeatedly, but what is the main difference?
How to genarate the reports?
How can I automate sftp commands(ls & get) in CL program.. If I want to write two scripts one for each command... can u plz tell where the script should be written? & what will be the content of each scripts?