REXX also has a nifty function called Century Day that simplifies things 
by working in century days, days since the beginning of the century, 
rather than days since the beginning of the year.




Sergio Lima <[email protected]> 
Sent by: The IBM z/VM Operating System <[email protected]>
01/03/2011 08:26 AM
Please respond to
The IBM z/VM Operating System <[email protected]>


To
[email protected]
cc

Subject
Re: How can get the Week day ?






Carlos and Dave,
 
Thanks very much. run ok...
 
Startint the new year, needing ask, and a very good help.
 
Best Regards
 
Sergio
 
> Date: Mon, 3 Jan 2011 14:20:36 +0100
> From: [email protected]
> Subject: Re: How can get the Week day ?
> To: [email protected]
> 
> On Mon, 3 Jan 2011 07:17:47 -0600, Dave Jones <[email protected]>
> wrote:
> > Try this Sergio.....
> > day_name = Date('W', '01/12/10', 'E')
> > 
> > On 01/03/2011 07:10 AM, Sergio Lima wrote:
> >> 
> >> Hello List.
> >> 
> >> I have a CMS file, and need convert the date in the format DD/MM/YY
> >> (01/12/10), to week day.
> >> 
> >> Try used this, but don't work :
> >> 
> >> 52 *-* data = word(saida,1) 
> 
> >>
> >> >>> "01/12/10" 
> 
> >> >>>
> >> 54 *-* campoa = date('w',data) 
> 
> >>
> >> 54 +++ campoa = date('w',data) 
> 
> >>
> >> 20 +++ call vetipo 
> 
> >>
> >> 5 +++ call processa 
> 
> >>
> >> DMSREX475E Error 40 running CPUXX EXEC, line 54: Incorrect call to
> >> routine
> >> 
> >> Is possible, do this what We need?
> >> 
> >> Thanks very much.
> >> Sergio Lima Costa
> >> Sao Paulo - Brazil
> or this
> day_name = Date("W",Date("E"),"E")
> 
> -- 
> Bien à vous
> 
> _CARLOS ROMERO MARTIN_

Reply via email to