What is the significance of UDATE?
Answers were Sorted based on User's Feedback
Answer / suresh
UDATE supports two-digit year. The format is *MDY
(MMDDYY).
| Is This Answer Correct ? | 22 Yes | 2 No |
Answer / ps
UDATE has always been the date the job was submitted or
became active . IT does not show system date. @My
application runs never ending night jobs. We use UDATE to
get the job submission date.
| Is This Answer Correct ? | 10 Yes | 0 No |
Answer / vipin
UDATE give the job date while *Date gives system date
| Is This Answer Correct ? | 9 Yes | 10 No |
what built in function can be used with SETLL.If you want to check whether the search argument is successful or not? Please give me answer with example?
what is decimal data error? when it will come and how to achieve(rectify) this error please give me solution as well as code
Q:HI friends accually ihave one problem plesase let me know the alternate code of this code. Related field description of code: Add a field, CALvsPRD, "Calendar Day Starts Before/After Production Day" to the parameter set WRKORDER which accepts values 'A' or 'B' o B = Calendar Day Starts Before Production Day o A = Calendar Day Starts After Production Day o Any other value indicates the production and calendar dates are always the same. code: Automatic Execution Of *INZSR Subroutine /Z01 * retrieves WRKORDER field values. /Z01 * Calculate default Production Date and return it to caller. /Z01 * Production date defaults to system date /Z01 C Eval P@Pdate = %DATE() /Z01 * unless Calendar date starts Before PDN(production) date and /Z01 * system time is before PDN Start Time then /Z01 * PDN date is yesterday. /Z01 C If W@CALvsPRD = 'B' and /Z01 C %TIME() < %TIME (W@Strtime) /Z01 C Eval P@Pdate -= %Day(1) /Z01 * unless Calendar date starts After PDN date and /Z01 * system time is *GE PDN(production) Start Time then /Z01 * PDN date is tomorrow. /Z01 C ElseIf W@CALvsPRD = 'A' and W@Strtime > *Zero and /Z01 C %TIME() >= %TIME (W@STrtime) /Z01 C Eval P@Pdate += %Day(1) /Z01 C EndIf /Z01 C Eval *InLr = *On
WHERE DO WE USE COMIT KEYWORD IN AN RPG PROGRAM? YOU MADE SOME CHANGES TO DATABASE BUT YOU DON'T WANT TO SAVE THOSE CHANGES NOW? HOW DO YOU HANDLE THIS ONE?
we are sending data of physical file to screen design and it is showing no record why?
How to set on/off a group of indicators in a single statement?
How can a screen field that has changed since the last output operation be detected?
during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.
1.Where we declare Variables in RPG/400,RPGIV,RPGILE.? 2.When do we use D-spec and I-spec in real time ?.what is difference between them?
1.What is the Maximum field length we can declare in RLU?? 2. What is the difference if your designing RLU using DDS and using the option 19 for the RLU??
Anyone help me for the below question:- If problem/error occur in *PSSR subroutine,how should I handel it in RPG program.
which program rpg or cl is efficent to update a transaction onto a database file and why ?