View previous topic :: View next topic
|
Author |
Message |
Manasa.M
New User
Joined: 22 Jan 2008 Posts: 2 Location: hyderabad
|
|
|
|
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 |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
Back to top |
|
|
Ajay Baghel
Active User
Joined: 25 Apr 2007 Posts: 206 Location: Bangalore
|
|
|
|
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 |
|
|
|