midrange.com -- rpg400-l mailing listMailing list archive for rpg400-l at midrange.comRe: Using Subdur- July 1, 2008 Unless your code needs to be S36 compatible, don't use UDATE. There are many, many better ways to do things. a) Do you really want the job date instead of the system date The job date reports the date that your job started (i.e. the date that you signed...http://feeds.midrange.com/~r/rpg400-l/~3/324437172/msg00033.html Re: Using Subdur- July 1, 2008 I don't understand this remark. You can always compare two dates no matter what format they are in. e.g. If myISODate > myUSADate; is perfectly valid and will produce the correct result chronologically speaking. Jon Paris www.Partner400.com www.SystemiDev...http://feeds.midrange.com/~r/rpg400-l/~3/324416376/msg00032.html Re: Using Subdur- July 1, 2008 <rpg400-lxxxxxxxxxxxx> Churchill MMDDYY.. list -- This is the RPG programming on the AS400 iSeries (RPG400-L) mailing list listhttp://feeds.midrange.com/~r/rpg400-l/~3/324395201/msg00031.html Re: Using Subdur- July 1, 2008 MMDDYY.. listhttp://feeds.midrange.com/~r/rpg400-l/~3/324352783/msg00030.html Re: Using Subdur- July 1, 2008 From: Michael_Schuttexxxxxxxxxxxx <Michael_Schuttexxxxxxxxxxxx> Subject: Re: Using Subdur To: "RPG programming on the AS400 iSeries" <rpg400-lxxxxxxxxxxxx> Date: Tuesday, July 1, 2008, 8:41 PM I'll show you again. assuming that program is running ...http://feeds.midrange.com/~r/rpg400-l/~3/324352784/msg00029.html RE: Using Subdur- July 1, 2008 From: Michael_Schuttexxxxxxxxxxxx <Michael_Schuttexxxxxxxxxxxx> Subject: Re: Using Subdur To: "RPG programming on the AS400 iSeries" <rpg400-lxxxxxxxxxxxx> Date: Tuesday, July 1, 2008, 8:41 PM I'll show you again. assuming that program is running ...http://feeds.midrange.com/~r/rpg400-l/~3/324352785/msg00028.html Re: Using Subdur- July 1, 2008 So what's the problem... look at the code again. I'm giving you the code to convert today's date minus 6 days and formatting in YYMMDD format. Michael Schutte Admin Professional Bob Evans Bob-B-Q: You haven't had barbeque until you've had Bob Evans Bob-B-...http://feeds.midrange.com/~r/rpg400-l/~3/324352786/msg00027.html Re: Using Subdur- July 1, 2008 You don't need free-form to use %Date() Michael Schutte Bob Evans Bob-B-Q: You haven't had barbeque until you've had Bob Evans Bob-B-Q. Try our six Bob-B-Q dishes, starting at $5.99. For more information, visit www.BobEvans.com. rpg400-l-bouncesxxxxxxxxxx...http://feeds.midrange.com/~r/rpg400-l/~3/324352787/msg00026.html Re: Using Subdur- July 1, 2008 From: Michael_Schuttexxxxxxxxxxxx <Michael_Schuttexxxxxxxxxxxx> Subject: Re: Using Subdur To: "RPG programming on the AS400 iSeries" <rpg400-lxxxxxxxxxxxx> Date: Tuesday, July 1, 2008, 8:41 PM I'll show you again. assuming that program is running ...http://feeds.midrange.com/~r/rpg400-l/~3/324333250/msg00025.html Re: Using Subdur- July 1, 2008 If you use freeform Procstartdate = %date(); Alan Shore ProgrammerAnalyst, Direct Response E:AShorexxxxxxxxxxx P:(631) 244-2000 ext. 5019 C:(631) 880-8640 "If you're going through Hell, keep going" - Winston Churchill rpg400-l-bouncesxxxxxxxxxxxx wrote ...http://feeds.midrange.com/~r/rpg400-l/~3/324333251/msg00024.html |