Oh! I forgot to mention that you can ftp directly from the JES SPOOL to a 
desktop, but you need all the JESSPOOL profiles set up correctly. On your 
desktop:

ftp zos
userid
password
ascii
quote site filetype=jes jesowner=* jesjobname=
dir
get Jnnn output.file.name

===

transcript below:

C:\Documents and Settings\john.mckown>ftp zos
Connected to zos.
220-FTP 09:23:54 on 2011-02-04.
220-This is HealthMarkets.
220-Unauthorized access is strictly prohibited.
220 Connection will close if idle for more than 50 minutes.
User (zos:(none)): myid
331 Send password please.
Password:
230-You have successfully logged on to the LIH1 ftp server.
230 TSH009 is logged on.  Working directory is "MYID.".
ftp> ascii
200 Representation type is Ascii NonPrint
ftp> quote site filetype=jes jesowner=* jesjobname=PC7*
200 SITE command was accepted
ftp> dir
200 Port request OK.
125 List started OK for JESJOBNAME=PC7*, JESSTATUS=ALL and JESOWNER=*
JOBNAME  JOBID    OWNER    STATUS CLASS
PC7IABND JOB51431 MSTRLI   OUTPUT P        RC=0000 5 spool files
PC7H900W JOB50522 MSTRLI   OUTPUT P        RC=0000 20 spool files
PC7IABND JOB50031 MSTRLI   OUTPUT P        RC=0000 5 spool files
PC7IDR2M JOB49337 MSTRLI   OUTPUT E        RC=0000 1 spool files
PC7IABND JOB48484 MSTRLI   OUTPUT H        RC=0000 5 spool files
PC7IDR1M JOB48211 MSTRLI   OUTPUT E        RC=0000 5 spool files
PC7IABND JOB46866 MSTRLI   OUTPUT P        RC=0000 5 spool files
PC7HUSRM JOB46609 MSTRLI   OUTPUT E        RC=0000 1 spool files
PC7IABND JOB46185 MSTRLI   OUTPUT P        RC=0000 5 spool files
PC7IABND JOB45739 MSTRLI   OUTPUT P        RC=0000 5 spool files
PC7IABND JOB44443 MSTRLI   OUTPUT P        RC=0000 5 spool files
PC7HFOM2 JOB43483 MSTRLI   OUTPUT P        RC=0000 5 spool files
PC7IABND JOB42713 MSTRLI   OUTPUT P        RC=0000 5 spool files
PC7HFOM1 JOB42514 MSTRLI   OUTPUT P        RC=0000 5 spool files
PC7H900W JOB41756 MSTRLI   OUTPUT P        RC=0000 20 spool files
PC7IABND JOB41212 MSTRLI   OUTPUT P        RC=0000 5 spool files
PC7HUSRM JOB40938 MSTRLI   OUTPUT E        RC=0000 1 spool files
PC7IABND JOB39732 MSTRLI   OUTPUT P        RC=0000 5 spool files
PC7H900W JOB33507 MSTRLI   OUTPUT P        RC=0000 20 spool files
PC7H900W JOB25263 MSTRLI   OUTPUT P        RC=0000 20 spool files
PC7H900W JOB16570 MSTRLI   OUTPUT P        RC=0000 20 spool files
PC7H900W JOB09737 MSTRLI   OUTPUT P        RC=0000 20 spool files
PC7HFOM2 JOB08597 MSTRLI   OUTPUT P        RC=0000 1 spool files
PC7HFOM1 JOB07711 MSTRLI   OUTPUT P        RC=0000 1 spool files
PC7HUSRM JOB06261 MSTRLI   OUTPUT E        RC=0000 1 spool files
PC7H900W JOB03312 MSTRLI   OUTPUT P        RC=0000 20 spool files
250 List completed successfully.
ftp: 1790 bytes received in 1.17Seconds 1.53Kbytes/sec.
ftp> get j3312 pc7h900w.output.txt
200 Port request OK.
125 Sending all spool files for requested Jobid
250 Transfer completed successfully.
ftp: 81870 bytes received in 1.83Seconds 44.79Kbytes/sec.
ftp>

===

At this point, I have pc7h900w.output.txt on my desktop drive. I can bring it 
up in Word or Notepad or ??? and print it like normal. Well, usually.

ref: 
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/f1a1b990/4.14.8.1


--
John McKown 
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * 
[email protected] * www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or 
proprietary information. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the original message. 
HealthMarkets(r) is the brand name for products underwritten and issued by the 
insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance 
Company(r), Mid-West National Life Insurance Company of TennesseeSM and The 
MEGA Life and Health Insurance Company.SM

 

> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[email protected]] On Behalf Of Larry Macioce
> Sent: Friday, February 04, 2011 7:59 AM
> To: [email protected]
> Subject: accesing output from jes spool
> 
> WE are having a problem with our printer(wont name the 
> brand), but we have
> all of last nights processing in the spool and need to get it 
> out and print
> some of the standard report.
> We have CA-Dispatch but only a few jobs are setup with online viewing.
> Is there a way to retrieve the output from jes get it to a 
> dataset so we
> could ftp to a network printer?
> Thanks
> Mace
> 
> ----------------------------------------------------------------------
> 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

Reply via email to