Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Is STEPNAME optional, if yes why?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Is STEPNAME optional, if yes why?
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: 8593
Location: Back in jolly old England

PostPosted: Fri Nov 18, 2011 7:24 pm    Post subject:
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Fri Nov 18, 2011 7:25 pm    Post subject: Reply to: Is STEPNAME optional, if yes why?
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: 1753
Location: Bloomington, IL

PostPosted: Fri Nov 18, 2011 7:34 pm    Post subject:
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    Post subject: Re: Reply to: Is STEPNAME optional, if yes why?
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: 7997
Location: Bellevue, IA

PostPosted: Fri Nov 18, 2011 7:40 pm    Post subject:
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: 1753
Location: Bloomington, IL

PostPosted: Fri Nov 18, 2011 7:49 pm    Post subject: Re: Reply to: Is STEPNAME optional, if yes why?
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

Site Director


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

PostPosted: Sat Nov 19, 2011 10:33 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How find the current stepname of a mu... SVazifdar CLIST & REXX 1 Wed May 06, 2009 9:51 am
No new posts Optional clause in COBOL file sri_mf COBOL Programming 7 Wed Dec 31, 2008 4:17 pm
No new posts ESDS organization and access mode is ... Anuj Dhawan COBOL Programming 10 Thu Sep 18, 2008 5:41 pm
No new posts SELECT OPTIONAL clause in FD section. reachcyrus COBOL Programming 3 Mon Jul 23, 2007 1:50 pm
No new posts How to code optional file in JCL? murmohk1 COBOL Programming 30 Mon Apr 02, 2007 10:20 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us