Page 1 of 1

JCL to copy syslog

PostPosted: Sun Jan 22, 2012 11:22 am
by Anish Mahajan
Hi all,

Just for learning purpose...
i wanna know how to copy syslog in a data set through a jcl???
which utility should i use and also what output path should i give in a JCL????


Thanks for help in advance...

Regards
Anish..

Re: JCL to copy syslog

PostPosted: Sun Jan 22, 2012 4:06 pm
by BillyBoyo
Since it is for learning, why don't you google for the subject you have given. You might pick up other related stuff as well, rather than just a straight answer (supply of JCL) from which you'll learn little, and learn-how-to-learn less. If you have questions from your researches, post them here, there are people willing to help those who are learning.

Re: JCL to copy syslog

PostPosted: Sun Jan 22, 2012 4:17 pm
by NicC
Mainframes do not have 'output paths' - they have datasets. You could stretch reality a bit and be using USS (Unix) on a mainframe but I guess you are using zOS. Also, the utility you use would depend on the spool software you have available (SDSF or whatever).

Re: JCL to copy syslog

PostPosted: Sun Jan 22, 2012 4:31 pm
by Anish Mahajan
Hi Billy and Nicc thx for ans..

@Billy-i googled it and i didnt find the ans...thats y i post the q here and i m nt having access to test sys. thts y i cant even try....i have only access to prod...

@Nicc-we have SDSF.....iam only 10 mnts old in mainframes and new to JCL....so it would b vry helpfull if u can provide utility name and how to mapped syslog in i/p dd statement...


Thanks,
Anish

Re: JCL to copy syslog

PostPosted: Sun Jan 22, 2012 6:20 pm
by steve-myers
Just a suggestion: DO NOT use cell phone texting short cuts in these forums.

Re: JCL to copy syslog

PostPosted: Sun Jan 22, 2012 7:48 pm
by Robert Sample
Anish Mahajan, what would be the MOST helpful would be for you to read the SDSF manual and find out what batch utilities are available. Sitting back and waiting to be spoon-fed is NOT considered a positive attitude on this forum -- YOU are expected to put forth some effort, just like all the members who reply did when they were learning these concepts. You've already got one big strike against you for repeatedly using shortcut abbreviations on a forum that supports use of proper English with full sentences. If you cannot even look up anything in a manual, that is a second big strike against you. With ten months experience in mainframes, you should be able to (at a minimum) find the SDSF manual relating to batch at your site (if you cannot, ask a coworker, your team leader, or site support staff), read it, and learn for yourself. If you cannot accomplish these minimal goals, why would we expect that giving you more difficult tasks (such as understanding JCL statements) would even be worth doing?

Re: JCL to copy syslog

PostPosted: Sun Jan 22, 2012 11:18 pm
by Anish Mahajan
Hi

Robert And Steve thanks for your suggestion and will read SDSF manual and also follow the rules of the forum from next time.


Regards
Anish