appropriate credits given and copyright allowances made ...My question was regarding the internal working - i.e what happens once we run a JCL?
os/360
OS VS2/MVS
appropriate credits given and copyright allowances made ...My question was regarding the internal working - i.e what happens once we run a JCL?
BillyBoyo wrote:I used to "run" JCL. I don't care that I submitted it to run it, run it is what we did. I don't think this is an occasion where there is strict terminology involved.
JCL is a language (however limited as such - ie it is very specific, not in any way general purpose). Is it compiled? No. So we all know really that it is interpreted, at least in the sense that if it is one or the other, it sure ain't compiled.
I like Steve's answer, and Enrico can back it up with the data.
I'm not sure I'd ever call JCL a "scripting language", even though that wasn't even the question asked originally (or asked in the first part of MrH's post).neha.sinha wrote:When we call a cobol program from a jcl, we invoke the cobol compiler. At this point, does the interpreter invoke the compiler? Does the compiler pass the result/machine code back to the interpreter?
At each job-step, the JCL processor will cease working for a short while while the program specified is executed. Then the JCL processor will pick up again. The "syntax" of the JCL has been validated up-front, and you whole job will simply be tossed out if that is wrong, so maybe we can say it is a two-stage interpreter?
The program that is executed, by the JCL, has no, well, OK, some, real communication with the JCL. The Cobol compile will take your source, syntax-check-and-covert-it and store it on disk as an "object" and give you an output listing that you can print or whatever. All the resources used by the Cobol compiler have to be established in the JCL, the disk files to read/write, the location of the output list, the disk which contains the library with the compiler on it, etc. Withouth the JCL, you'd have to manually get all these things ready, with physical switches, and stuff like that. Guess how JCL evolved....
I don't think that using incorrect terminology and concepts helps anyone trying to learn here:
3) There is no "JCL processor." It's called JES.
Y27-7128-0_Control_Program_With_Option_2_MFT_PLM_1966.pdf 06-Sep-2009 18:20 7.2M
Y28-6604-1_Sequential_Access_Methods_PLM_Jan67.pdf 06-Sep-2009 18:20 14M
Y28-6605-2_Introduction_To_Control_Program_Logic_PLM_Sep66.pdf 06-Sep-2009 18:20 1.7M
Y28-6609-1_Input_Output_Support_PLM_Feb67.pdf 06-Sep-2009 18:20 3.4M
Y28-6610_LinkEdit_E_PLM_Jun67.pdf 06-Sep-2009 18:20 7.3M
Y28-6612-2_Fixed-Task_Supervisor_PLM_Sep67.pdf 06-Sep-2009 18:21 8.8M
Y28-6613-1_Job_Management_PLM_Mar67.pdf 06-Sep-2009 18:21 10M
Y28-6614-4_Utilities_PLM_Nov68.pdf 06-Sep-2009 18:21 14M
Y28-6616-1_IO_Supervisor_PLM_Apr67.pdf 06-Sep-2009 18:22 9.9M
Y28-6617-3_BDAM_PLM_Jul67.pdf 06-Sep-2009 18:22 3.9M
MrH wrote:I don't think that using incorrect terminology and concepts helps anyone trying to learn here:
1) You don't run JCL... you run the job that the JCL describes.
2) There is no "real communication with the JCL." It is read. If it's not rejected outright, the job steps get executed.
3) There is no "JCL processor." It's called JES.