JCL to copy syslog



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

JCL to copy syslog

Postby Anish Mahajan » Sun Jan 22, 2012 11:22 am

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..
Anish Mahajan
 
Posts: 4
Joined: Fri Jan 20, 2012 12:26 pm
Has thanked: 0 time
Been thanked: 0 time

Re: JCL to copy syslog

Postby BillyBoyo » Sun Jan 22, 2012 4:06 pm

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.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: JCL to copy syslog

Postby NicC » Sun Jan 22, 2012 4:17 pm

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).
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: JCL to copy syslog

Postby Anish Mahajan » Sun Jan 22, 2012 4:31 pm

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
Anish Mahajan
 
Posts: 4
Joined: Fri Jan 20, 2012 12:26 pm
Has thanked: 0 time
Been thanked: 0 time

Re: JCL to copy syslog

Postby steve-myers » Sun Jan 22, 2012 6:20 pm

Just a suggestion: DO NOT use cell phone texting short cuts in these forums.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: JCL to copy syslog

Postby Robert Sample » Sun Jan 22, 2012 7:48 pm

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?
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: JCL to copy syslog

Postby Anish Mahajan » Sun Jan 22, 2012 11:18 pm

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
Anish Mahajan
 
Posts: 4
Joined: Fri Jan 20, 2012 12:26 pm
Has thanked: 0 time
Been thanked: 0 time


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post