How to extract the scheduler name into a file in JCL

In this Mainframe Forum - You can post your queries on DFSORT, ICETOOL , SyncSort & JCL Utilities

Moderators: Frank Yaeger, Moderator Group

Post Reply
Arundk2012
Member
Posts: 6
Joined: Thu Jan 17, 2013 2:57 pm

How to extract the scheduler name into a file in JCL

Post by Arundk2012 » Wed Jan 23, 2013 6:56 pm

I have a requirement to get an output file with the scheduler name.

Scheduler has number of jobs into it.

Requirement is when the first job completes, the output file should be written with the scheduler name.

Is there any possible way i can perform this.


Thanks,
Arun.M
Arun.M

DikDude
Moderator
Posts: 1001
Joined: Fri Jul 22, 2011 8:39 am
Location: usa

Post by DikDude » Wed Jan 23, 2013 10:38 pm

Suggest this will need to be clarified before someone can post a useful reply. . .

Which "output file"?

The scheduler knows when jobs complete - why is something else wanted?
Have a good one

Arundk2012
Member
Posts: 6
Joined: Thu Jan 17, 2013 2:57 pm

Post by Arundk2012 » Thu Jan 24, 2013 12:40 pm

In my project there are set of jobs which is a part of different schedulers. Like same job is used with diff scheduler names. So to confirm job runs on which scheduler. I would like to know is it possible to have the scheduler name in an output of the job.

Jobs:
CSS0BT21
CSS0BT31
CSS0BT41
CSS0BT51
CSS0BT61

same set of above jobs will be executed in diff schedulers like
CSSOISO1
CSSOISO2
CSSOISO3

So just to confirm CSS0BT21 executed by which scheeduler. I would like to have an outout in one of the job with the scheduler name.
Arun.M

William Collins
Active Member
Posts: 732
Joined: Thu May 24, 2012 4:07 am

Post by William Collins » Thu Jan 24, 2013 4:17 pm

Do you mean you have different "schedulers", or are you talking about different "schedules" established in your scheduler?

Arundk2012
Member
Posts: 6
Joined: Thu Jan 17, 2013 2:57 pm

Post by Arundk2012 » Fri Jan 25, 2013 12:01 pm

Sorry, its different schedules
Arun.M

DikDude
Moderator
Posts: 1001
Joined: Fri Jul 22, 2011 8:39 am
Location: usa

Post by DikDude » Fri Jan 25, 2013 10:19 pm

You still have not explained this "output file" :(

Many scheduled jobs show scheduler info in the output of the job.

Suggest you talk with your scheduling people and if they are not sure, have them contact the vendor for your scheduling software.
Have a good one

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others