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

where the execution takes place?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rajarajeswari

New User


Joined: 25 Aug 2006
Posts: 17
Location: Bangalore

PostPosted: Thu Sep 11, 2008 2:59 pm
Reply with quote

Hi

Please clear me on this question.

Which will execute the job?

1. OS
2. JCL
3. JES
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Sep 11, 2008 3:01 pm
Reply with quote

The JCL (job) is interpreted via JES2 and passed to the operating system for execution.
Back to top
View user's profile Send private message
rajarajeswari

New User


Joined: 25 Aug 2006
Posts: 17
Location: Bangalore

PostPosted: Sun Sep 21, 2008 8:44 am
Reply with quote

Thanks for your reply
Back to top
View user's profile Send private message
nevilh

Active User


Joined: 01 Sep 2006
Posts: 262

PostPosted: Mon Sep 22, 2008 8:19 pm
Reply with quote

expat wrote:
The JCL (job) is interpreted via JES2 and passed to the operating system for execution.
Are you sure about this? I always thought that interpretation was done by z/OS and conversion was done by JES (simplistic view)
Back to top
View user's profile Send private message
superk

Global Moderator


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

PostPosted: Mon Sep 22, 2008 8:50 pm
Reply with quote

I'll copy a few items from the z/OS Basics manual Chapter 7.1 What is Batch Processing:

Quote:

z/OS uses a Job Entry System or JES to receive jobs into the operating system, to schedule them for processing by z/OS, and to control their output processing.

z/OS manages work as tasks and subtasks. JES is a component of z/OS and manages the the input and output job queues and data.

The initiator is an integral part of z/OS that reads, interprets, and executes the JCL.

Job Flow

JES accepts jobs, in the form of an input stream, from the internal reader. JES reads the input stream, assigns a job identifier to each JOB statement, and places the information onto a spool dataset. JES then selects jobs from the spool for processing.

JES uses a converter program to analyze a job's JCL statements. The converter converts the composite JCL converter/interpreter into text that both JES and the initiator can recognize. JES then stores the converted text onto the spool datasets.

In the processing phase, JES selects jobs that are waiting to run and sends them to the initiator for execution. An initiator is a system program belonging to z/OS but controlled by JES or Workload Management (WLM).
Back to top
View user's profile Send private message
nevilh

Active User


Joined: 01 Sep 2006
Posts: 262

PostPosted: Tue Sep 23, 2008 12:59 am
Reply with quote

Quote:
Are you sure about this?
I added this as I was always lead to believe that after the Converter/interpreter code was redesigned in the early 90's that conversion was the reponsibility of JES and interpretation was in the domain of z/OS. I never questioned this, it was just the way things were. Having read the reply I had a quick look in the manuals and found contradictory statements. Hence the question, as until I read the reply I had no doubts and now I am not so sure. The exits manual clearly states that
Quote:
MVS creates the C/I text and uses it in its preparation for executing your job. IBM recommends that you do not modify this text.
Added to this all Interpreter modules belong to z/OS. However now the down side (from my point of view) the Converter modules also belong to z/OS and I am 99% sure this is a function of JES so can anyone put me out of my misery and point me to a manual that will answer the question
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 Capturing Job Execution Information All Other Mainframe Topics 3
No new posts How to remove one row and can be adde... All Other Mainframe Topics 2
No new posts Parallel Sysplex - subprogram execution CICS 7
No new posts Prod parallel execution on mainframe ... CICS 1
No new posts Trying to add current date in place o... DFSORT/ICETOOL 8
Search our Forums:

Back to Top