[SPAM] Tivoli workload scheduler variables

2007-02-21 Thread Perry O'Connell
I'm fairly new to this

does anyone know a way of obtaining a future date using the SETVAR 
command? 

I want to obtain the date 9 in MMDD format of the next calendar Sunday


I have tried something like this...

//*%OPC SCAN 
//*%OPC SETVAR TEMP=(7 - CDAY) 
//*%OPC SETVAR TSUN=(CYMD + TEMP)


but it doesn't work

any ideas? 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


[SPAM] Tivoli workload scheduler variables

2007-02-21 Thread Perry O'Connell
what's with the (spam)  in the title?






Perry O'Connell Perry.O'[EMAIL PROTECTED] 
Sent by: IBM Mainframe Discussion List IBM-MAIN@BAMA.UA.EDU
21/04/2007 13:56
Please respond to
IBM Mainframe Discussion List IBM-MAIN@BAMA.UA.EDU


To
IBM-MAIN@BAMA.UA.EDU
cc

Subject
[SPAM] Tivoli workload scheduler variables






I'm fairly new to this

does anyone know a way of obtaining a future date using the SETVAR 
command? 

I want to obtain the date 9 in MMDD format of the next calendar Sunday


I have tried something like this...

//*%OPC SCAN 
//*%OPC SETVAR TEMP=(7 - CDAY) 
//*%OPC SETVAR TSUN=(CYMD + TEMP)


but it doesn't work

any ideas? 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Tivoli workload scheduler variables

2007-02-21 Thread Perry O'Connell
thanks Steve, our  mailserver date should now be correct

apologies



Steve Flynn [EMAIL PROTECTED] 
Sent by: IBM Mainframe Discussion List IBM-MAIN@BAMA.UA.EDU
21/02/2007 14:22
Please respond to
IBM Mainframe Discussion List IBM-MAIN@BAMA.UA.EDU


To
IBM-MAIN@BAMA.UA.EDU
cc

Subject
Re: [SPAM] Tivoli workload scheduler variables






On 21/04/07, Perry O'Connell Perry.O'[EMAIL PROTECTED] wrote:

 what's with the (spam)  in the title?


Probably due to the clock on your PC being months out

Date: Sat, 21 Apr 2007 13:56:42 +0100


-- 
Steve
Despair - It's always darkest just before it goes pitch black...

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: BPXWDYN and subsys

2006-11-02 Thread Perry O'Connell
Hi Tom

According to IBM is it supported, but it's not documented..

You are correct that it is missing from the book. I'll try to get it 
added. SUBSYS should be supported. Based on your result, it does apppear 
that it is supported otherwise you would have gotten an error from 
bpxwdyn. It looks like you got an application error on open. You probably 
need to verify your subsystem is getting the parameters as you expect, for 
example, if you expect the quotes to be passed through, they will not as 
you have this coded.

Bill









Tom Schmidt [EMAIL PROTECTED] 
Sent by: IBM Mainframe Discussion List IBM-MAIN@BAMA.UA.EDU
01/11/2006 17:06
Please respond to
IBM Mainframe Discussion List IBM-MAIN@BAMA.UA.EDU


To
IBM-MAIN@BAMA.UA.EDU
cc

Subject
Re: BPXWDYN and subsys






On Wed, 1 Nov 2006 10:00:26 +, Perry O'Connell wrote:

Does anyone know about using the SUBSYS alloc key in BPXWDYN?

is it supported?

No, it is not supported. 


 
 
Tom Schmidt 
Madison, WI 
 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


BPXWDYN and subsys

2006-11-01 Thread Perry O'Connell
Does anyone know about using the SUBSYS alloc key in BPXWDYN?

is it supported?


I am trying to dynamically allocate something like this DD card

//INVOICE2   DD SUBSYS=(B93Z,X001,PDF,'ASCII=YES','FILEEXT=PDF')


i have tried calling it with this..


ALLOC FI(INVOICE2) SUBSYS(B93Z,X001,PDF,'ASCII=YES','FILEEXT=PDF')


without success . e.g.

IBM0236S  ONCODE=93  The UNDEFINEDFILE condition was raised 
 because the operating system was unable to OPEN the file 
 Subcode1=53  Subcode2=  (FILE= BETA1). 
 From entry point B_MAIN_PROCESSING at statement 1030 at compile 




its called from a PL/1 db2 stored procedure, running in a WLM address 
space


The IBM docs are either out of date or unclear ( or unfindable (by me)!)


any ideas most welcome!



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


BPXWDYN and subsys

2006-11-01 Thread Perry O'Connell
Thanks Folks

The question arose out of a email converation I had with Bill Schoen at 
IBM Ploughkeepsie... ( BS is the author of the BPXWDYN documentation i 
originally found 
ftp://ftp.software.ibm.com/s390/zos/tools/bpxwdyn/bpxwdyn.html#Section_2.3.1 
)


title from this doc

BPXWDYN: Text Interface to Dynamic Allocation and Dynamic Output
Updated 5/19/00 
Bill Schoen
vnet : SCHOEN at S390VM
Internet: [EMAIL PROTECTED]
IBM Mail: USIBMDWJ at IBMMAIL







SO   my question


Dear Bill Schoen 


the documentation I have seen says: 

SUBSYS(subsys name[,subsys parm]...) 
Directs the allocation request to subsys name. with optional parameters. 
Case is preserved for quoted parms, otherwise the parm is upper-cased. 
Null parameters can also be specified by leaving a subsys parm empty. 
Availability not yet targeted for product 



I would really like to use subsys, are there any alternatives?



Bill's Reply...

( saying Subsys was supported )


From what I can tell, subsys is supported. If you are asking about the 
availability statement, you are looking at old documentation. BPXWDYN is 
documented in the USS Using REXX book as of z/OS 1.4. If you are asking if 
it will pass the quotes around your parms through, no it will strip them 
and preserve case.

Bill


Hence the confusion..




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html