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

Is STEPNAME optional, if yes why?


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

Active User


Joined: 23 Dec 2005
Posts: 176
Location: India

PostPosted: Fri Nov 18, 2011 7:20 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Fri Nov 18, 2011 7:24 pm
Reply with quote

After 167 posts you ask the question on a forum without testing for yourself ?
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Fri Nov 18, 2011 7:25 pm
Reply with quote

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
View user's profile Send private message
Akatsukami

Global Moderator


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

PostPosted: Fri Nov 18, 2011 7:34 pm
Reply with quote

Why do you think that there is a connection between step name and program name?
Back to top
View user's profile Send private message
monasu1998

Active User


Joined: 23 Dec 2005
Posts: 176
Location: India

PostPosted: Fri Nov 18, 2011 7:39 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Nov 18, 2011 7:40 pm
Reply with quote

Quote:
How can we execute a program without a STEPNAME?
The same way you execute a program WITH a STEPNAME?
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


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

PostPosted: Fri Nov 18, 2011 7:49 pm
Reply with quote

monasu1998 wrote:
Without a stepname how to code the EXEC PGM=program.

Read, as we say, the fine manual.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sat Nov 19, 2011 10:33 am
Reply with quote

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
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 How find the current stepname of a mu... CLIST & REXX 1
No new posts Optional clause in COBOL file COBOL Programming 7
No new posts ESDS organization and access mode is ... COBOL Programming 10
No new posts SELECT OPTIONAL clause in FD section. COBOL Programming 3
No new posts How to code optional file in JCL? COBOL Programming 30
Search our Forums:

Back to Top