View previous topic :: View next topic
|
Author |
Message |
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
luban wrote: |
It looks like that shorten the symbolic parm is my only choice |
Yeah, according to the details provided by you so far, this is the best soultion. Once it happened to me & I did the same.
Quote: |
Just wish won't meet such kind of DSN again |
Good Luck .. |
|
Back to top |
|
|
Douglas Wilder
Active User
Joined: 28 Nov 2006 Posts: 305 Location: Deerfield IL
|
|
|
|
One other possible solution, do your substitution in multiple steps, ie. use intermediate variables to hold parts of the final dsn.
Code: |
2 // SET FIRST=A
3 // SET LEVEL1=B
4 // SET SECOND=C
5 // SET LEVEL2=D
6 // SET THIRD=E
7 // SET LEVEL3=F
8 // SET FOURTH=G
9 // SET TEST=H
//**********************************************************
10 // SET DSNP1=&FIRST..&LEVEL1..&SECOND..&LEVEL2.
IEFC653I SUBSTITUTION JCL - DSNP1=A.B.C.D
11 // SET DSNP2=&THIRD..&LEVEL3..&FOURTH.&TEST
//**********************************************************
IEFC653I SUBSTITUTION JCL - DSNP2=E.F.GH
12 //JS010D EXEC PGM=IEFBR14
//*
13 //DD1 DD DISP=SHR,DSN=&DSNP1..&DSNP2
IEFC653I SUBSTITUTION JCL - DISP=SHR,DSN=A.B.C.D.E.F.GH |
I hope this helps. |
|
Back to top |
|
|
luban
New User
Joined: 19 Nov 2005 Posts: 26 Location: Shanghai, China
|
|
|
|
Hi Doug,
That's great!
It's really helpful.
Thank you so much " )
Regards,
Ban |
|
Back to top |
|
|
|