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

Why not compile a JCL ?


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
praveenkumar.k

New User


Joined: 17 May 2012
Posts: 2
Location: INDIA

PostPosted: Wed Aug 29, 2012 10:26 am
Reply with quote

Hi,

Recently I have been asked in an interview as to why we don't compile a JCL where as we are doing it for a COBOL program. My answer was that JCL is built to give instructions to mainframe but it is not the case with a program & that to run a program we need load which isn't required for JCL.

Please shed some light on this as to whether my understanding is correct else please let me know the reason.

PS: Searched internet for this but unable to find an answer.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Wed Aug 29, 2012 1:47 pm
Reply with quote

Read chapter 3 in :

ABCs of OS/390 System Programming Volume 2
Back to top
View user's profile Send private message
rakesha.hg

Active User


Joined: 21 Mar 2008
Posts: 161
Location: bangalore

PostPosted: Wed Aug 29, 2012 2:16 pm
Reply with quote

this reminds me of my college day Microprocessor lab.

My external asked me why i was inputting only 1,2,3....0 and a,b,c ....f and why not z, x an all .... i kept quiet (my actual response in mind #%^^%$^$%^*^#$@##E%^ icon_mad.gif)
Back to top
View user's profile Send private message
rakesha.hg

Active User


Joined: 21 Mar 2008
Posts: 161
Location: bangalore

PostPosted: Wed Aug 29, 2012 2:24 pm
Reply with quote

Did you get the answer??

easiest explaination to give for this is JCL (JCL statements) are interpreted by JES (job entry subsystem, JES2 or JES3), thats why its not compiled.
Back to top
View user's profile Send private message
praveenkumar.k

New User


Joined: 17 May 2012
Posts: 2
Location: INDIA

PostPosted: Fri Aug 31, 2012 1:14 pm
Reply with quote

yup, that's right... JCL is a machine understandable (low-level) language where as COBOL is higl level lanuagae so requires compilation.

Thanks for the help guys.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Fri Aug 31, 2012 1:24 pm
Reply with quote

Quote:
JCL is a machine understandable (low-level) language


nope, that's wrong!
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Fri Aug 31, 2012 1:26 pm
Reply with quote

Errr..... No. Don't think you've quite got it.

Try this and continue your research.
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Fri Aug 31, 2012 3:48 pm
Reply with quote

There is a long and not particularly funny joke which ends with a judge asking a rabbi if he was gambling, to which the rabbi responds, "With who?"

Likewise, if asked why JCL isn't compiled, an appropriate answer would be, "With what?"
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Fri Aug 31, 2012 4:02 pm
Reply with quote

with a/the jcl compiler... what else icon_cool.gif


sorry but it' s friday
the topic is going down the sink/toilet, will be locked shortly
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 -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts C Compile time time stamps Java & MQSeries 10
This topic is locked: you cannot edit posts or make replies. How To Write, Compile and Execute Cob... COBOL Programming 5
No new posts Print out all lines with 'IBM' compil... CLIST & REXX 8
No new posts JCL for pl1 db2 precompile, compile a... JCL & VSAM 4
Search our Forums:

Back to Top