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
 

 

how to override the parameter of concatenation

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
dophine80

New User


Joined: 26 Dec 2005
Posts: 2

PostPosted: Thu Jun 01, 2006 1:57 pm    Post subject: how to override the parameter of concatenation
Reply with quote

hi guys, could you tell me the rule to override the parameters in the concatenation. for example i have a catalogue procedure. i want to override the parameter.

if i want to change the disp=new in file1,dsn=newfile in file2, no change in file3. what is the right result.
//proc1 proc
//step exec pgm=hello
//data1 dd dsn=file1, disp=old
// dd dsn=file2, disp=mod
// dd dsn=file3, disp-shr
//

------------------------------------------------------
i am waiting for all your suggestions


thanks
Back to top
View user's profile Send private message

rajandhla

Active User


Joined: 18 Oct 2005
Posts: 182
Location: Luton UK

PostPosted: Thu Jun 01, 2006 2:15 pm    Post subject:
Reply with quote

Check this post..............

http://ibmmainframes.com/viewtopic.php?t=11293


Regards
jai
Back to top
View user's profile Send private message
sundaresanjs

New User


Joined: 29 May 2006
Posts: 18
Location: USA

PostPosted: Thu Jun 01, 2006 3:01 pm    Post subject:
Reply with quote

hi dophine80,

you can use this type of code to override the dataset during concatenation.
the below code is your code.

//proc1 proc
//step exec pgm=hello
//data1 dd dsn=file1, disp=old
// dd dsn=file2, disp=mod
// dd dsn=file3, disp-shr
//

you can get the overriding in the file1 alone by the below code given which is used in the other job.

//job......
//step1 exec pgm=proc1
//step.data1 dd dsn=file5,disp=mod
dd
dd
//sysout dd sysout=*
//sysprint dd sysout=*
//syssin dd *
/*


you use this type it will work,

welcome to the comments regarding this


regards,
Back to top
View user's profile Send private message
dophine80

New User


Joined: 26 Dec 2005
Posts: 2

PostPosted: Thu Jun 01, 2006 6:01 pm    Post subject:
Reply with quote

thank you guys. but i still have a little bit doubt. howt do we deal with the data set not modified in the concatenation.

//proc1 proc
//step exec pgm=hello
//data1 dd dsn=file1, disp=old
// dd dsn=file2, disp=mod
// dd dsn=file3, disp=shr
//

if i do not override file2. is that should be like below
//myjob job notify=dophine80
//step1 exec porc1
//step.data1 dd dsn=newfile,disp=new
// dd
// dd dsn=file3,disp=old
------------------------------------------------------

kind regards
Back to top
View user's profile Send private message
sundaresanjs

New User


Joined: 29 May 2006
Posts: 18
Location: USA

PostPosted: Fri Jun 02, 2006 5:31 pm    Post subject:
Reply with quote

hai friend,

its correct step given by you.

thanks,

Regards,
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 DDNAME parameter mistah kurtz JCL & VSAM 6 Mon Dec 19, 2016 4:41 pm
No new posts Execessive parameter issue Sumeendar JCL & VSAM 5 Mon Dec 19, 2016 4:35 pm
No new posts TOT & DATE parameter in ICEMAN hemanthj642 DFSORT/ICETOOL 4 Mon Nov 14, 2016 5:19 am
No new posts How to display value of an exit param... lind sh CICS 2 Sun Oct 09, 2016 12:28 pm
No new posts Compiler option for override the exte... muralikrishnan_new COBOL Programming 9 Fri Jul 08, 2016 12:09 pm


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