JCL to display



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

JCL to display

Postby jvinoth » Tue Jan 17, 2012 12:30 pm

Hi i have one doubt ....In jcl can we display some characters like we do in COBOL program display statment...if so please tell me how to do that is there any key word in jcl for displaying....thanks in advance
jvinoth
 
Posts: 132
Joined: Fri Nov 18, 2011 3:13 pm
Has thanked: 0 time
Been thanked: 1 time

Re: jcl display

Postby steve-myers » Tue Jan 17, 2012 12:42 pm

JCL is not, repeat, not a programming language, or for that matter, a scripting language like, for example, Rexx, or any number of vaguely similar languages in the Unix world like Perl. It has no ability to display anything, at any time. You can use JCL to run a program that can display things, but you have to provide the program.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: jcl display

Postby jvinoth » Tue Jan 17, 2012 12:44 pm

thanks steve...
jvinoth
 
Posts: 132
Joined: Fri Nov 18, 2011 3:13 pm
Has thanked: 0 time
Been thanked: 1 time

Re: jcl display

Postby jvinoth » Tue Jan 17, 2012 2:21 pm

hi steve can we track the execution of the jcl step by step is it possible as we do in cobol..thanks
jvinoth
 
Posts: 132
Joined: Fri Nov 18, 2011 3:13 pm
Has thanked: 0 time
Been thanked: 1 time

Re: jcl display

Postby BillyBoyo » Tue Jan 17, 2012 3:04 pm

jvinoth,

I've just posted a message assuming that you were after Sort learning materials, but I misunderstood.

JCL is only a "language" in the sense that it has a syntax which has to be followed. You cannot write programs in JCL.

Job steps are executed serially. The only thing you can do is avoid execting steps based on the RC of a step in that job which has completed (normally or abnormally). So you don't need to trace anything, you just look at the JES messages output and you will be able to see which steps have executed, and why some step has not (if that is the case).

I have no idea these days what a good JCL book for learning from, as it is many years since I had one. Something like MVS JCL for Application Programmers was the title. After reading it once, the JCL manual was more useful. Plus I already knew DOS JCL (different JCL for another mainframe operating system form IBM), so made it easier.

I'd start by concentrating on the JOB, EXEC and DD statements. Work out the most basic things of each (look at any JCL you have) and then get a solid understanding of what all of that means by going through the manual, and asking colleagues if anything is unclear to you.

When you are happy with the basics, find out about the more exotic stuff for these statements. Then go to other JCL statements. Ask to look at some production JCL to see the sort of things your site actually uses. Whoever shows you the JCL might appreciate your interest, and give you a little chat along the way as well.

But really, the first thing to do is to obliterate the idea that JCL is a programming language. It is a way of automating the functions that computer operators would have had to do by hand, and a little more as the OSs have delveloped.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: jcl display

Postby jvinoth » Tue Jan 17, 2012 3:10 pm

thank you so much for your explanation...thank you once again
jvinoth
 
Posts: 132
Joined: Fri Nov 18, 2011 3:13 pm
Has thanked: 0 time
Been thanked: 1 time


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post