Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Keywords in JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
nightbuzzz

New User


Joined: 04 May 2007
Posts: 21
Location: kuala lumpur

PostPosted: Wed Aug 12, 2009 1:47 pm    Post subject: Keywords in JCL
Reply with quote

There are 4 keywords in JCL..
1.JOB
2.EXEC.
3.DD
4???

I am getting the 4th one. Can some1 help me?

Thanks
Mayank
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Wed Aug 12, 2009 1:52 pm    Post subject:
Reply with quote

I somehow believe that you are using the wrong terminology here.

I have never heard of a JCL keyword. Please tell us correctly what your question is.

Help is readily available from the "IBM Manuals" button at the top of each page, where you can access and read the JCL reference manual.

Go and read that manual and then come back to clarify any remaining doubts that you may have.
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Wed Aug 12, 2009 3:36 pm    Post subject: Reply to: Keywords in JCL
Reply with quote

I think by keywords the OP means the basic components that make up a valid job. I'd tend to agree that there are three - JOB, EXEC, and DD. I don't know what would constitute the fourth, unless you consider IF/THEN/ELSE as a basic component.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Wed Aug 12, 2009 3:40 pm    Post subject:
Reply with quote

Maybe it's the NULL statement
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Wed Aug 12, 2009 3:46 pm    Post subject: Reply to: Keywords in JCL
Reply with quote

I was also thinking that. Maybe.

I'm glad someone is finally posting a JCL topic that reflects how basically simplistic JCL is. One thing I've been harping on for many years now is that too many folks try to over-complicate JCL. Once you realize that there are only a few basic statements, factor in all of the coding standards as mandated by your site, and there's very little that should be left for discussion here in these forums.
Back to top
View user's profile Send private message
Amolondhe007
Warnings : 1

New User


Joined: 16 Apr 2007
Posts: 50
Location: Pune

PostPosted: Wed Aug 12, 2009 4:02 pm    Post subject: Reply to: Keywords in JCL
Reply with quote

Hi Mayank,

I don't think so that there is any other keyword other than JOB, EXEC and DD in mainframe explained anywhere.

as per Expat it may be Null statement.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Wed Aug 12, 2009 4:05 pm    Post subject:
Reply with quote

But then what about

PROC, PEND, COMMENT, DELIMITER, COMMAND, CNTL / ENDCNTL, and various others
Back to top
View user's profile Send private message
mtaylor

Active User


Joined: 20 Feb 2009
Posts: 108
Location: Kansas City

PostPosted: Wed Aug 12, 2009 5:35 pm    Post subject:
Reply with quote

Yep, 'keyword' is an artificial distinction. There are JCL 'commands' (and JES2 and JES3 commands) such as superk indicates, and then there are logical units like jobs, steps, dds, and procs.

See chapter 3 in the JCL Reference. EXEC, DD, PROC, PEND, etc are referred to as the operation field of a JCL statement.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Thu Aug 13, 2009 5:02 am    Post subject:
Reply with quote

Hi Mayank,

According to the JCL Ref those are not keywords, but "Operation fields" and there are about 20 of them. "Keywords" are parameters of these fields and they contain an "=" sign (e.g. RECFM=VB); the other type are positional parameters; these must be coded in the order stated in the manual.

Check the link below. Among other things, near the middle of the page you'll find a table listing the "Operation fields":

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/handheld/Connected/BOOKS/IEA2B680/3.1
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Thu Aug 13, 2009 7:44 am    Post subject:
Reply with quote

All of which shows that proper terminology in IT is vitally important.
Back to top
View user's profile Send private message
Amolondhe007
Warnings : 1

New User


Joined: 16 Apr 2007
Posts: 50
Location: Pune

PostPosted: Thu Aug 13, 2009 12:49 pm    Post subject: Reply to: Keywords in JCL
Reply with quote

Yes, Terry...You are correct.

I also add as per my information, JOB,EXEC and DD are JCL statements not keywords.

Keyword Parameters are like CLASS,MSGCLASS,MSGLEVEL ,COND,TIME etc.

Thanks,
Amol
Pune,India.
Back to top
View user's profile Send private message
viveksurya

New User


Joined: 08 Jun 2009
Posts: 36
Location: Bangalore

PostPosted: Fri Aug 14, 2009 4:24 pm    Post subject:
Reply with quote

Hi Nightbuzz,

If u r referring to the statements, then JOB,EXEC and DD form the 3 basic statements in JCL. Other than these, NULL/COMMENT statements can also be considered as pointed by expat earlier.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Sorting based on Keywords Ramya Ganesan DFSORT/ICETOOL 3 Tue Nov 19, 2013 12:22 pm
No new posts Find the occurrence of keywords using... suraaj COBOL Programming 15 Fri Aug 30, 2013 8:27 pm
No new posts Regarding keywords in SYSIN card Prabhat Ram Kagra All Other Mainframe Topics 3 Wed Mar 20, 2013 7:27 pm
No new posts NO KEYWORDS FOUND ON CONTROL STATEMENT mahe1015 JCL & VSAM 7 Wed Dec 19, 2012 11:57 am
No new posts What These keywords stands for: NOMVS kapil dev arora CA Products 4 Wed Nov 11, 2009 11:40 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us