IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Limited spool size


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Furion

New User


Joined: 27 Nov 2007
Posts: 14
Location: China

PostPosted: Thu Nov 13, 2008 1:13 pm
Reply with quote

hi ,all

In my environment, the spool size has been limited. Now i have to run some job which will generate much output. I have specify the huge SYSOUT to my own dataset. But the job still end after some time. I found the LOG and some other option in SDSF are very small. But the MESSAGE option seems own many lines. I wanna specify the MESSAGE to my own dataset also. Is it possible? or what is the dd name of the MESSAGE in job?

Thx in advance!
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Thu Nov 13, 2008 1:19 pm
Reply with quote

please explain better,
it would be strange to have a never ending job icon_confused.gif
You are not giving any info to work on

the people to talk to, seem to be the support people
Back to top
View user's profile Send private message
Furion

New User


Joined: 27 Nov 2007
Posts: 14
Location: China

PostPosted: Thu Nov 13, 2008 1:24 pm
Reply with quote

sorry...in fact that is some ftp job. There exist many many PUT commands. In the beginning the job runs ok. But after some time the job ends without many PUT command excuting while the MaxCC is zero.
Back to top
View user's profile Send private message
Furion

New User


Joined: 27 Nov 2007
Posts: 14
Location: China

PostPosted: Thu Nov 13, 2008 1:32 pm
Reply with quote

something like
SYSOUT DD DSN=my own dataset
SYSPRINT DD DSN=my own dataset
I have specified the SYSOUT and SYSPRINT to my own dataset. Does that mean my job will not be limited by the spool size?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Thu Nov 13, 2008 1:35 pm
Reply with quote

please please,
when You ask for help try to impersonate the people who listen,
and meditate on what they can understand from Your post

if You were on this ( my ) side of the fence what would You be able to do ?

You talk about spool space, sdsf log....
ftp terminating.. icon_confused.gif
everything is quite confusing

look carefully at the messages, try to understand if there are errors,

FTP does not use spool to stage data ( anyway )
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Thu Nov 13, 2008 1:54 pm
Reply with quote

if You want help , post what has been asked,
if You just want to vent... create a BLOG

nothing shows that You have a problem, You are just speculating,
to get help You must provide FACTS
that is a sysout/syslog with some messages that can be acted upon

this reading will be most useful on help You get useful answers
catb.org/~esr/faqs/smart-questions.html
Back to top
View user's profile Send private message
Furion

New User


Joined: 27 Nov 2007
Posts: 14
Location: China

PostPosted: Thu Nov 13, 2008 2:03 pm
Reply with quote

icon_cry.gif
sorry for my unclear description- -''

When we invoke the FTP program in JCL, job will generate much information about the excuting status into SYSOUT. just like

EZA1736I PUT xxxxx' xxxx
EZA1701I >>> SITE FIXrecfm 80 LRECL=80 RECFM=FB BLKSIZE=32720
501 SITE option not supported.
EZA1701I >>> PORT xxx,xxx,xx,xx,xx,xxx
200 PORT Command successful.

Now because I code thousands of PUT commands, I'm worried about if the job will take too much space in spool.
Everytime the job excutes hundreds of PUTs then stop with maxcc=0. And i didn't find error messages. The other PUTs are not excuted.
I don't know if I have explained clearly. -.-'[/quote]
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Thu Nov 13, 2008 2:05 pm
Reply with quote

Why dont you check the server whether all the files have reached there?
Quote:
The other PUTs are not excuted

What makes you feel so?
Back to top
View user's profile Send private message
Furion

New User


Joined: 27 Nov 2007
Posts: 14
Location: China

PostPosted: Thu Nov 13, 2008 2:09 pm
Reply with quote

No...Only some files are transferrd...
icon_mad.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Thu Nov 13, 2008 2:13 pm
Reply with quote

if You code thousandths of put statement You should be a large shop,

given that a ftp put writes let' s say 20 lines...

then for 5000 puts grade school math gives 20 times 5000 = 100000,
if Your spool does not allow that many( few rather ) lines for a job,
than You have bigger problems

again, if You want help, give facts
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Thu Nov 13, 2008 2:21 pm
Reply with quote

if ....
the job end with return code 0
you do not have any space problems

what do the messages relative to the unsuccessful PUTs say ???

if all the command are executed
and only some files are transferred

if You want help , we need facts
post a snippet of the messages issued for a file that does not get transfered
Back to top
View user's profile Send private message
Furion

New User


Joined: 27 Nov 2007
Posts: 14
Location: China

PostPosted: Thu Nov 13, 2008 2:22 pm
Reply with quote

icon_redface.gif
I don't want code so many PUT also. - -a
But it is generated by another program.
Any solutions?
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Nov 13, 2008 2:22 pm
Reply with quote

Furion,

any example (30 lines or so of your ftp commands in the jcl) would help.

If each PUT executed generates some kind of EZA.... msg,
and you think that some PUTs are not being executed,
at some point in the sysout, you will find the last PUT processed.
I would then look at the JCL and see if you have inadvertently
generated a line of JCL that is interpreted by JES as EndOfJOB.
Back to top
View user's profile Send private message
Furion

New User


Joined: 27 Nov 2007
Posts: 14
Location: China

PostPosted: Thu Nov 13, 2008 2:40 pm
Reply with quote

I think you are right. It is possiable. Let me check the program which generates the PUTs commands. Maybe it will remove some PUTs.
Thank you!
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Nov 13, 2008 6:38 pm
Reply with quote

I worry about systems where somebody thinks they need to transfers thousands of files from place to place. Maybe I should worry about the analyst instead?

SYSOUT and SYSPRINT are fine but they won't impact the spool output by your FTP job. FTP output in batch jobs goes to DD name OUTPUT which you can redirect to a file, as I've done in the past.

Suggestion: add SENDSITE to your FTP job before your first PUT command. This will keep z/OS from sending the SITE commands which aren't being recognized. That'll cut a couple of lines out of your output for each PUT command.

Quote:
Everytime the job excutes hundreds of PUTs then stop with maxcc=0. And i didn't find error messages. The other PUTs are not excuted.
If this is happening, you'll have to post some OUTPUT from FTp around where the PUT commands stopped being done for us to help determine what happened.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Using Java/C/C++ to retrieve dataset ... Java & MQSeries 6
No new posts Find the size of a PS file before rea... COBOL Programming 13
No new posts Search string in job at regular Spool... CLIST & REXX 0
No new posts Masking variable size field - min 10 ... DFSORT/ICETOOL 4
No new posts Dataset size increase on adding 1 byt... DFSORT/ICETOOL 8
Search our Forums:

Back to Top