Re: CSI FTPBATCH command variables

New Message Reply Date view Thread view Subject view Author view Other groups

Subject: Re: CSI FTPBATCH command variables
From: Stephen Frazier (stevef@doc.state.ok.us)
Date: Wed Apr 02 2008 - 18:14:32 EST


I find that this works fine. Maybe you can do something like this in FTPBATTCH.

This job catalogs most of the commands needed to send a email to my pager.
// JOB SETEMAIL
// EXEC LIBR,PARM='MSHP'
ACCESS S=TECH.CONFIG
CATALOG PAGEMESF.L                        REPLACE=YES
SET USER=SYSTEM
SET PASSWORD=xyzxyax
SET HOST=DOCRS2.DOC.STATE.OK.US
SET FROM=xyzxyzx@aaa.bbb.ccccc.dd.US
SET SUBJECT=Your Page message
SET TO=1234567890@PAGE.METROCALL.zzz   (Stephen Frazier)
SEND
QUIT
/+


Then I run this job to send the message.
* $$ JOB JNM=PAGEMESF,DISP=D,CLASS=C,                                  C
* $$ DUETIME=1645,DUEDAY=(17)
* $$ LST LST=SYSLST,CLASS=J,DISP=H
// JOB PAGEMESF
// EXEC EMAIL
TEXT
Time to go to the computer room to run Dino's evening jobs.
/+
EXEC PAGEMESF
/*
/&
* $$ EOJ

-- 
Stephen Frazier
Information Technology Unit
Oklahoma Department of Corrections
3400 Martin Luther King
Oklahoma City, Ok, 73111-4298
Tel.: (405) 425-2549
Fax: (405) 425-2554
Pager: (405) 690-1828
email:  stevef%doc.state.ok.us


New Message Reply Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b25 : Fri May 16 2008 - 11:05:06 EDT