Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Regarding Symbolic parameter

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Regarding Symbolic parameter
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

Moderator Team Head


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

PostPosted: Fri Sep 01, 2006 8:24 am    Post subject: Re: Regarding Symbolic parameter
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    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 Can DFSPARM override SORTKEYS paramet... ashek15 DB2 2 Tue Jan 31, 2017 11:36 pm
No new posts DDNAME parameter mistah kurtz JCL & VSAM 6 Mon Dec 19, 2016 4:41 pm
No new posts Execessive parameter issue Sumeendar JCL & VSAM 5 Mon Dec 19, 2016 4:35 pm
No new posts TOT & DATE parameter in ICEMAN hemanthj642 DFSORT/ICETOOL 4 Mon Nov 14, 2016 5:19 am
No new posts How to display value of an exit param... lind sh CICS 2 Sun Oct 09, 2016 12:28 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us