IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Keywords in JCL


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 8797
Location: Welsh Wales

PostPosted: Wed Aug 12, 2009 1:52 pm
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

Global Moderator


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

PostPosted: Wed Aug 12, 2009 3:36 pm
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: 8797
Location: Welsh Wales

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

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

Global Moderator


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

PostPosted: Wed Aug 12, 2009 3:46 pm
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: 49
Location: Pune

PostPosted: Wed Aug 12, 2009 4:02 pm
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: 8797
Location: Welsh Wales

PostPosted: Wed Aug 12, 2009 4:05 pm
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
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
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":

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
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: 49
Location: Pune

PostPosted: Thu Aug 13, 2009 12:49 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Sorting based on Keywords DFSORT/ICETOOL 3
No new posts Find the occurrence of keywords using... COBOL Programming 15
No new posts Regarding keywords in SYSIN card All Other Mainframe Topics 3
No new posts NO KEYWORDS FOUND ON CONTROL STATEMENT JCL & VSAM 7
No new posts What These keywords stands for: NOMVS CA Products 4
Search our Forums:

Back to Top