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

JCL Continuation question


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

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Wed Nov 07, 2007 1:43 pm
Reply with quote

luban wrote:
It looks like that shorten the symbolic parm is my only choice icon_rolleyes.gif


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 .. icon_smile.gif
Back to top
View user's profile Send private message
Douglas Wilder

Active User


Joined: 28 Nov 2006
Posts: 305
Location: Deerfield IL

PostPosted: Thu Nov 08, 2007 2:42 am
Reply with quote

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
View user's profile Send private message
luban

New User


Joined: 19 Nov 2005
Posts: 26
Location: Shanghai, China

PostPosted: Thu Nov 08, 2007 5:25 pm
Reply with quote

Hi Doug,

That's great!
It's really helpful.
Thank you so much " )

Regards,
Ban
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 Question for file manager IBM Tools 7
No new posts question for Pedro TSO/ISPF 2
No new posts question on Outrec and sort #Digvijay DFSORT/ICETOOL 20
No new posts panel creation question TSO/ISPF 12
No new posts Sort w/OUTREC Question DFSORT/ICETOOL 2
Search our Forums:

Back to Top