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

Regarding Symbolic parameter


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sand
Warnings : 1

New User


Joined: 20 Nov 2005
Posts: 19

PostPosted: Fri Sep 01, 2006 7:31 am
Reply with quote

Hi All,

I have a question regarding symbolic parameter..

Question: Why we give .. in DSN parameter, when we are using symbolic
====== parameter in DSN parameter?

//DD1 DD DSN=&A..&B..&c

the answer may be that in DSN we have to use .. if we are using symbolic parameter, but I have seen in so many placesin code where they are giving..

//DD1 DD DSN=&A.&B..&c.D.&E

Thanks,
Sand.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Fri Sep 01, 2006 8:24 am
Reply with quote

The ampersand (&) marks the beginning of the variable, and the period (.) marks the end. Additionally, the various nodes of the dataset name are delimited by a period (.). So, for your two examples, if A=A and B=B and so on:

//DD1 DD DSN=&A..&B..&C

equals

//DD1 DD DSN=A.B.C

whereas:

//DD1 DD DSN=&A.&B..&C.D.&E

equals:

//DD1 DD DSN=AB.CDE
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 Using the Jobname parameter in a Qual... ABENDS & Debugging 1
No new posts Demand with DEADLINE TIME parameter CA Products 4
No new posts Option DYNALLOC second parameter. DFSORT/ICETOOL 11
No new posts Writing the output file name from a p... JCL & VSAM 7
No new posts Reference for COND parameter. JCL & VSAM 1
Search our Forums:

Back to Top