View previous topic :: View next topic
|
Author |
Message |
monasu1998
Active User
Joined: 23 Dec 2005 Posts: 176 Location: India
|
|
|
|
Hi,
As of now, I have not seen a JCL and a program being executed without a STEPNAME.
I heard that the STEPNAME is not mandatory in JCLs. My doubt is
How can we execute a program without a STEPNAME?
May be in real time we always have stepnames as in realtime there is mostly a possibility of restarting a job from a specific step.
I am it curious to know how the programs are getting executed without stepnames. Any input/advises would be appreciated. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
After 167 posts you ask the question on a forum without testing for yourself ? |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
Have you experimented and tried running a JOB which has steps without assigning a particular step (or more than one) an actual STEPNAME?
What were your results?
C'mon Man....
Mr. Bill |
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
|
|
Why do you think that there is a connection between step name and program name? |
|
Back to top |
|
|
monasu1998
Active User
Joined: 23 Dec 2005 Posts: 176 Location: India
|
|
|
|
Hi Bill,
I am sorry expat, I never have tried to execute a program without STEPNAME.
Without a stepname how to code the EXEC PGM=program. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
How can we execute a program without a STEPNAME? |
The same way you execute a program WITH a STEPNAME? |
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
|
|
monasu1998 wrote: |
Without a stepname how to code the EXEC PGM=program. |
Read, as we say, the fine manual. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Most organizations have standards that require a stepname. So any jobs you have looked have stepnames.
Just because standards require a stepname, this does not mean the IBM system needs a stepname. Having said that, suggest you not create steps without a stepname. . .
Think about restarts, overrides, problem tracking, etc. Another of those things that can be done but probably should not be done.
Suggest you run a couple of experiments on your system to see what happens. Some places have an interactive jcl edit/audit that can prevent the job from being submitted. |
|
Back to top |
|
|
|