View previous topic :: View next topic
|
Author |
Message |
sushanth bobby
Senior Member
Joined: 29 Jul 2008 Posts: 1020 Location: India
|
|
|
|
Hi,
I have dataset in spool which i nearly 50MegaBytes, which is result of a JOB. How can i download that dataset, which is in the spool using FTP.
I can do XDC, save it as a dataset and download it to windows(documentation purposes).
I want to know, is it possible to download a dataset directly from SPOOL using FTP.
I can use the following method to connect to the SPOOL
ftp IP Address
User ID
Password
quote site filetype=jes
Sushanth |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
Sushanth,
if the FTP code is correct, it seems that you have answered your own question.
Is this 'DS' ever printed? If not, why not change the DD statement to output a temp file which the next step would FTP?
Then this 'large' file would not be in the JES SPOOL,
which is very sensitive to size, and rather important (SPOOL usage) to your system? |
|
Back to top |
|
|
sushanth bobby
Senior Member
Joined: 29 Jul 2008 Posts: 1020 Location: India
|
|
|
|
Dino,
There are soo many finished jobs in my SPOOL(SDSF-->H). Like
Code: |
PREFIX=****** DEST=(ALL) OWNER=HXSULL** SORT=JNUM/D FILTERS=1 SYSNAME=
NP JOBNAME C JNUM MAX-RC PROGRAMMER-NAME START-TI END-TIME TOT-REC
HXSULLXX X 6093 CANCELED TEST 0:00:00 0:00:00 24
HXSULLXX X 6053 ABEND S322 TEST 5:56:37 5:59:53 602
HXSULLXX X 5672 CC 0000 TEST 4:08:48 4:09:03 602
HXSULLA X 5671 CC 0000 SUSHANTH- 4:08:13 4:08:13 58
HXSULLXX X 5657 CC 0008 TEST 4:00:26 4:01:10 599
HXSULLXX X 5545 CC 0000 TEST 3:13:39 3:14:59 397
HXSULLXX X 5545 CC 0000 TEST 3:13:39 3:14:59 601
PDAUTIL X 5519 CC 0000 3:07:54 3:08:12 259
HXSULLXX X 5518 CC 0000 TEST 3:07:48 3:07:54 701
HXSULLXX X 5368 CC 0000 TEST 2:40:31 2:41:26 601
HXSULLXX X 5343 CC 0000 TEST 2:38:02 2:38:29 601
HXSULLXX X 5160 CC 0000 TEST 1:46:14 1:46:28 697
HXSULLA X 931 CC 0008 HIHX400A 10:29:52 10:29:55 186 |
But when i give DIR in FTP
Code: |
ftp> dir
200 Port request OK.
125 List started OK
HXSULLA JOB00931 OUTPUT 4 Spool Files
HXSULLA JOB05671 OUTPUT 4 Spool Files
HXSULLA TSU05815 ACTIVE
HXSULLB TSU05816 ACTIVE
250 List completed successfully.
ftp: 296 bytes received in 0.05Seconds 6.30Kbytes/sec.
ftp> |
I see only 2 SPOOL files. What can be the reason for this ?
Iam able to download the file.
Quote: |
And,why not change the DD statement to output a temp file which the next step would FTP? |
That is exactly what we did yesterday ?{in the beginning we didn't know the file is gonna be that big}
Thank You,
Sushanth Bobby |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
Although I'm not sure, I suspect what's happening is you're only getting the jobs whose name consists of your user id plus one character.
Code: |
SITE JESOWNER HXSULL* |
should allow you access to your entire queue. |
|
Back to top |
|
|
sushanth bobby
Senior Member
Joined: 29 Jul 2008 Posts: 1020 Location: India
|
|
|
|
Quote: |
Although I'm not sure, I suspect what's happening is you're only getting the jobs whose name consists of your user id plus one character. |
Robert, You are absolutely correct.
Code: |
ftp> quote site jesowner hxsull*
200-operand required on JESOwner parameter. Parameter ignored.
200-Unrecognized parameter 'hxsull*' on SITE command.
200 SITE command was accepted
ftp> |
I am not able to access the entire queue.
Thank You,
Sushanth Bobby |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
My fault for not reading the syntax diagram closely enough. Try
Code: |
SITE JESOWNER=HXSULL* |
I didn't see the equals sign the first time around ... and since the FTP configuration doesn't typically require an equals sign I didn't realize I'd missed it. |
|
Back to top |
|
|
sushanth bobby
Senior Member
Joined: 29 Jul 2008 Posts: 1020 Location: India
|
|
|
|
Robert,
Sorry for the late reply. I got this message
Code: |
ftp> quote site jesowner=hxsull*
200-JESINTERFACELEVEL=1. The value of JESOwner cannot be modified.
200 SITE command was accepted
ftp> |
JESOwner cannot be modified.
Thank You,
Sushanth Bobby |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
With JESINTERFACELEVEL=1, you're out of luck unless you can get your site support group to change it. The Configuration Manual says:
Quote: |
Use the JESINTERFACELEVEL statement to specify the FTP-to-JES interface to be used by the installation. JESINTERFACELEVEL 1 uses the JES interface provided in releases prior to Communication Server for OS/390 V2R10. At this level, the FTP user is allowed to submit jobs to JES, retrieve held output matching their logged-in user ID plus one character, and delete held jobs matching their logged-in user ID plus one character. |
|
|
Back to top |
|
|
sushanth bobby
Senior Member
Joined: 29 Jul 2008 Posts: 1020 Location: India
|
|
|
|
Thank You Robert. |
|
Back to top |
|
|
|