View previous topic :: View next topic
|
Author |
Message |
Furion
New User
Joined: 27 Nov 2007 Posts: 14 Location: China
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
please explain better,
it would be strange to have a never ending job
You are not giving any info to work on
the people to talk to, seem to be the support people |
|
Back to top |
|
|
Furion
New User
Joined: 27 Nov 2007 Posts: 14 Location: China
|
|
|
|
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 |
|
|
Furion
New User
Joined: 27 Nov 2007 Posts: 14 Location: China
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
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..
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
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 |
|
|
Furion
New User
Joined: 27 Nov 2007 Posts: 14 Location: China
|
|
|
|
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 |
|
|
Arun Raj
Moderator
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
|
|
|
|
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 |
|
|
Furion
New User
Joined: 27 Nov 2007 Posts: 14 Location: China
|
|
|
|
No...Only some files are transferrd...
|
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
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 |
|
|
Furion
New User
Joined: 27 Nov 2007 Posts: 14 Location: China
|
|
|
|
I don't want code so many PUT also. - -a
But it is generated by another program.
Any solutions? |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
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 |
|
|
Furion
New User
Joined: 27 Nov 2007 Posts: 14 Location: China
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
|