Re: How can get the Week day ?

2011-01-03 Thread Kris Buelens
Similar, here's my REXDATES EXEC that either: - shows today's date in the various REXX formats - shows an input date in various formats If called from XEDIT, the result is shown in XEDIT's message area (hoping you used SET MSGLINE to define enough lines). /* show all rexx date() variations +---

Re: Assembler Question

2011-01-03 Thread Alan Altmark
On Monday, 01/03/2011 at 01:57 EST, Sergio Lima wrote: > We wrote a sample ASSEMBLER Program here under CMS, that will submit a JOB to > VSE Machine, using the CP SPOOL PUNCH command. > Sorry, if you understand that here is not the good place to put this question. > The people ask to me, if i

Re: How can get the Week day ?

2011-01-03 Thread Chip Davis
Technically, the first year of each century is cc01, not cc00. Due to an appalling lack of consistency, the C programmers in the first decade ("0") of the first century ("0") declared the first year to be "1". :-) -Chip- On 1/3/11 16:03 George Henke/NYLIC said: Not quite sure what is the di

Re: Assembler Question

2011-01-03 Thread Tony Thigpen
How about MVC MAQUINA(8),=xl8'050205030102' OC MAQUINA(8),=Xl8'e0e0c0d0c0c04040' Tony Thigpen -Original Message - From: Sergio Lima Sent: 01/03/2011 01:56 PM > Hello List, > > We wrote a sample ASSEMBLER Program here under CMS, that will submit a > JOB to VSE Machine,

Re: Assembler Question

2011-01-03 Thread Rob van der Heij
If you change these MVC MAQUINA+0(1),=XL1'E5' by MVI MAQUINA+0(1),X'E5' then things don't look obvious anymore. Alternatively, pass the userid as a parameter and let someone else worry :-) | Rob

Re: Assembler Question

2011-01-03 Thread Wakser, David
My own personal favorite was to use six-bit encoding - 8 bytes will fit into 6, so it works well for this problem. Of course, it needs to be decoded before issuing the MVC, which could be done in a sub-program or within the program itself. David Wakser From: The IBM z/VM Operating System [m

Re: Assembler Question

2011-01-03 Thread McKown, John
I guess this is to stop the no-so-smart. The first thing that comes to mind is to make some slight changes to cause confusion: You have: MVC MAQUINA+0(1),=XL1'E5' MVC MAQUINA+1(1),=XL1'E2' MVC MAQUINA+2(1),=XL1'C5' MVC MAQUINA+3(1),=XL

Assembler Question

2011-01-03 Thread Sergio Lima
Hello List, We wrote a sample ASSEMBLER Program here under CMS, that will submit a JOB to VSE Machine, using the CP SPOOL PUNCH command. Sorry, if you understand that here is not the good place to put this question. The people ask to me, if is possible the name of CMS MACHINE not appear on the

Re: Curious edev problem

2011-01-03 Thread gclovis
Hi, Martha: I think it is documented in the "CP Planning and Administration". Include as many EDEVICE statements as needed; they are optional and can be placed anywhere in the system configuration file. If you specify more than one statement with the real device number, CP uses the last statement

Re: Curious edev problem

2011-01-03 Thread Bill Munson
I seem to remember John Franciscovich saying in a CP presentation that the "Last Statement Wins" in the Sys Config file. then again I could be wrong, again. munson 201-418-7588 From: Martha McConaghy To: IBMVM@LISTSERV.UARK.EDU Date: 01/03/2011 12:44 PM Subject:Curious edev

Curious edev problem

2011-01-03 Thread Martha McConaghy
I ran into a curious problem with edev today. I think its a bug, but I thought I'd run it past the list and see what you all think. We have using edev a lot to define SAN volumes for Linux guests. This past week, we did a big power shutdown of our data center, so all the VM systems got recycled.

Re: How can get the Week day ?

2011-01-03 Thread George Henke/NYLIC
<365, plus 1 for each leap year.> Which implies leap century, but I certainly hope century day is accurate within the same century despite leap year because that was part of the beauty of the idea. Les Koehler Sent by: The IBM z/VM Operating System 01/03/2011 11:53 AM Please respond to

Re: How can get the Week day ?

2011-01-03 Thread Les Koehler
365, plus 1 for each leap year. Les George Henke/NYLIC wrote: Not quite sure what is the difference between the number of days since the beginning of the century and the number of days since the most recent year ending in '00' unless going back or ahead more than a century or 2. But I suppos

Re: Configuration Puzzler

2011-01-03 Thread Schuh, Richard
That was the problem. When the conversion to use SFS was done, it was only half done. One machine, the one that owned the minidisk, was converted, the other was not. Regards, Richard Schuh From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu]

Re: How can get the Week day ?

2011-01-03 Thread George Henke/NYLIC
Not quite sure what is the difference between the number of days since the beginning of the century and the number of days since the most recent year ending in '00' unless going back or ahead more than a century or 2. But I suppose there is a difference or it would have been moot. Chip Davis

Re: How can get the Week day ?

2011-01-03 Thread Mike Walter
Terrific... let's all put that on our calendars for a party! :-) Mike Walter Aon Corporation The opinions expressed herein are mine alone, not my employer's. "Dave Jones" Sent by: "The IBM z/VM Operating System" 01/03/2011 09:31 AM Please respond to "The IBM z/VM Operating System" To I

Re: How can get the Week day ?

2011-01-03 Thread Dave Jones
For even more nerdy-ness: the next year that is a prime number and a sum of a prime number of consecutive prime numbers (like 2011) is 2081 =401+409+419+421+431. So enjoy this one:-) DJ On 01/03/2011 08:35 AM, Rich Smrcina wrote: > That's pretty nerdy, Dave. lol > > On 01/03/2011 07:35 AM,

Re: How can get the Week day ?

2011-01-03 Thread Edward M Martin
Hello Sergio, Here is our TODAY EXEC to give you all types of information. /* REXX IS THIS YEAR A LEAP YEAR ? */ ADDRESS COMMAND SAY DATE()' DATE EXPRESSED NORMALLY' SAY DATE('B') ' DATE EXPRESSED AS DAYS SINCE 01/01/0001 ' SAY DATE('C') ' DATE EXPRESSED AS DAYS SINCE 01/01/

Re: How can get the Week day ?

2011-01-03 Thread Chip Davis
Be careful with Date('C'). It doesn't really give you the number of days in the current century (as it was originally documented). It returns the number of days since the beginning of the most recent year ending in '00', e.g. '2000'. If you are doing any sort of arithmetic with dates, your b

MVMUA meeting January 18, 2011

2011-01-03 Thread Bill Munson
Friends, The first meeting of 2011 for the Metropolitan VM Users Association will be at Information Builders in 2 Penn Plaza http://www2.marist.edu/~mvmua/2011jan.html http://www2.marist.edu/~mvmua/diribi.html http://www2.marist.edu/~mvmua/ibisec.html Please let Eric and I know if you will b

Re: How can get the Week day ?

2011-01-03 Thread Rich Smrcina
That's pretty nerdy, Dave. lol On 01/03/2011 07:35 AM, Dave Jones wrote: Sure! :-) 2011=157+163+167+173+179+181+191+193+197+199+211 DJ On 01/03/2011 07:32 AM, Bauer, Bobby (NIH/CIT) [E] wrote: So are you going to tell us these eleven *consecutive* prime numbers? Bobby Bauer Center for Info

Re: How can get the Week day ?

2011-01-03 Thread George Henke/NYLIC
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 Sent by: The IBM z/VM Operating System 01/03/2011 08:26 AM Please respond to The IBM z

Re: How can get the Week day ?

2011-01-03 Thread Dave Jones
Sure! :-) 2011=157+163+167+173+179+181+191+193+197+199+211 DJ On 01/03/2011 07:32 AM, Bauer, Bobby (NIH/CIT) [E] wrote: > So are you going to tell us these eleven *consecutive* prime numbers? > > Bobby Bauer > Center for Information Technology > National Institutes of Health > Bethesda, MD 2089

Re: How can get the Week day ?

2011-01-03 Thread Bauer, Bobby (NIH/CIT) [E]
So are you going to tell us these eleven *consecutive* prime numbers? Bobby Bauer Center for Information Technology National Institutes of Health Bethesda, MD 20892-5628 301-594-7474 -Original Message- From: Dave Jones [mailto:d...@vsoft-software.com] Sent: Monday, January 03, 2011 8:29

Re: How can get the Week day ?

2011-01-03 Thread Dave Jones
You're welcome, Sergioand a Happy New Year too. (btw, 2011 is the sum of eleven *consecutive* prime numbers, and is itself a prime number) On 01/03/2011 07:20 AM, Carlos Romero Martin wrote: > On Mon, 3 Jan 2011 07:17:47 -0600, Dave Jones > wrote: >> Try this Sergio. >> day_name

Re: How can get the Week day ?

2011-01-03 Thread Sergio Lima
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: carlo...@scarlet.be > Subject: Re: How can get the Week day ? > To: IBMVM@LISTSERV.UARK.EDU > > On Mon, 3 Jan 2011 07

Re: How can get the Week day ?

2011-01-03 Thread Carlos Romero Martin
On Mon, 3 Jan 2011 07:17:47 -0600, Dave Jones 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. >> >> T

Re: How can get the Week day ?

2011-01-03 Thread Dave Jones
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(said

How can get the Week day ?

2011-01-03 Thread Sergio Lima
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"