|
debug)
Randy,
You are right, the job date is set to UDATE = 060107.(checked it in
So how do i change this and make it accept the job date as the date whenthe
job is run?the
From: "Kesterson, Randy" <RPKesterson@xxxxxxxxxxxxxxxxxxx>
Reply-To: RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>
To: "RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx>
Subject: RE: UDAY (Reserved Word)
Date: Tue, 5 Jun 2007 10:26:48 -0700
Unless I remember incorrectly, the Udate fields return the Job Date
information not the System date. Try debugging your program and check
thevalue of UDATE before creating @CD1. Maybe you have something setting
Job Date to the 1st of the month.
______________________________________________________________________________________________
|Randy Kesterson, Information Services
Market Transport Services - a UTi Worldwide Company| 110 N Marine Drive
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]Portland, OR 97217 | USA
rpkesterson@xxxxxxxxxxxxxxxxxxx | D +1 503.978.4353 | O +1 503.283.2405
x353 | F +1 503.978.4392
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
SolutionsOn Behalf Of Jeff Young
Sent: Tuesday, June 05, 2007 10:20 AM
To: RPG programming on the AS400 / iSeries
Subject: Re: UDAY (Reserved Word)
Derek,
It *should* return the current day using the Job Date.
I just tried it on V5R3 and it worked fine.
Jeff Young
Sr. Programmer Analyst
IBM -e(logo) server Certified Systems Exper - iSeries Technical
Day?V5R2
IBM Certified Specialist- e(logo) server i5Series Technical Solutions
Designer V5R3
IBM Certified Specialist- e(logo)server i5Series Technical Solutions
Implementer V5R3
----- Original Message ----
From: derek gonsalves <d_gons@xxxxxxxxxxx>
To: RPG400-L@xxxxxxxxxxxx
Sent: Tuesday, June 5, 2007 1:10:01 PM
Subject: UDAY (Reserved Word)
Hi all,
What value does UDay return?? Isn't it supposed to return the current
MicrosoftI am facing a problem over here
UYear returns 07- which is perfect
UMonth returns 06 - which again is perfect
But Uday always returns the value 01 - ??? (Tried running it yesterday -
still the same result)
Why is it so?? Any suggestions??
$Calc Begsr
Eval @CY1 = UYear
Eval @CM1 = UMonth
Eval @CD1 = UDay
Endsr
Thanks in advance
Derek
_________________________________________________________________
Don¢t miss your chance to WIN $10,000 and other great prizes from
listOffice Live http://clk.atdmt.com/MRT/go/aub0540003042mrt/direct/01/
--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
____________________________________________________________________________________
updatedBoardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's
listfor today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow
--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
listTo post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
listTo post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
_________________________________________________________________
Make every IM count. Download Messenger and join the i’m Initiative now.
It’s free. http://im.live.com/messenger/im/home/?source=TAGHM_June07
--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact copyright@midrange.com.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.