Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Overriding a concatenated dataset

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

New User


Joined: 22 Jan 2008
Posts: 2
Location: hyderabad

PostPosted: Wed Jan 30, 2008 12:54 pm    Post subject: Overriding a concatenated dataset
Reply with quote

hi all,
Suppose i have 100 concatenated datsets as shown in the below eg..Is it possible to override the 50th dataset without disturbing the other datasets,If so do mention the procedure for it.Here infile50 should be replaced with infileA

eg:// step10 exec pgm=xxxx
// infile dd dsn=infile1
// dd dsn=infile2
// . .
// . .
// dd dsn=infile50 <----
// . .
// . .
// dd dsn=infile100
Back to top
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Wed Jan 30, 2008 12:58 pm    Post subject:
Reply with quote

The answer is right there... in the fine manual.

O.
Back to top
View user's profile Send private message
Ajay Baghel

Active User


Joined: 25 Apr 2007
Posts: 205
Location: Bangalore

PostPosted: Wed Jan 30, 2008 5:36 pm    Post subject: Reply to: Overriding a concatenated dataset
Reply with quote

Hi Manasa,

You can use the symbolic parameter for this particular dsn name in the concatenated datasets' list. When you call the procedure in the job, provide the actual dataset name.


eg:

//PROCA PROC
//PSTEP1 EXEC...
//DD1 DD DSN=DSN1,DISP=SHR
// DD DSN=DSN2,DISP=SHR
// DD DSN=&&DSN3,DISP=SHR
// DD DSN=DSN4,DISP=SHR
.
.
.
// PEND



In the job,

//JOBSTEP EXEC PROCA,DSN3=actual dataset name

- Ajay
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 Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm
No new posts Extra character appears in file when ... Balu5491 All Other Mainframe Topics 1 Wed Jul 26, 2017 2:39 pm
No new posts Browse dataset cvnlynn CLIST & REXX 4 Tue Jul 18, 2017 3:52 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us