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

Giving override for the step which has duplicate name


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

New User


Joined: 26 May 2007
Posts: 45
Location: Chennai

PostPosted: Wed May 12, 2010 1:23 am
Reply with quote

Hi Team,

One of my production Proc there are 2 steps with the same name. I want to give override for the second step. If I try giving override, it is always attaching to the first step. Below is the example.

//PS030 EXEC PGM=A
//STEPLIB DD DSN=xxx
//FILEA DD DSN=AAA,DISP=SHR
//SYSOUT DD SYSOUT=*
//*
//PS030 EXEC PGM=B
//STEPLIB DD DSN=YYY
//FILEB DD DSN=BBB,DISP=SHR
//SYSOUT DD SYSOUT=*

I Need to give override to FILEB...Is it possible.
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: Wed May 12, 2010 1:27 am
Reply with quote

Hello,

Remove the duplicate step name. . .
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed May 12, 2010 2:01 am
Reply with quote

You looked for it...
IBM manuals are clear about having duplicate step names
in case of overrides the results are unpredictable !
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 Duplicate transid's declared using CEDA CICS 3
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts How to append a PS file into multiple... JCL & VSAM 3
No new posts Duplicate several members of/in one l... JCL & VSAM 7
No new posts convert file from VB to FB and use tr... DFSORT/ICETOOL 8
Search our Forums:

Back to Top