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
 

 

How to add date as Low level qualifier to a dataset name?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
Tamilarasi Manoharan

New User


Joined: 11 Jun 2009
Posts: 1
Location: Chennai

PostPosted: Fri Jun 12, 2009 9:40 am    Post subject: How to add date as Low level qualifier to a dataset name?
Reply with quote

Hi,

How to add current date as the Low level qualifier to a dataset name?
eg. "a.b.c.dt090611"

I used OPC option, as

//*%OPC SCAN
//*%OPC SETFORM OCDATE=(YYMMDD)
//*%OPC SETVAR TDAT2=(OCDATE-1CD)

and the dataset name as below

DSN=EORGA.AXXXX.DBA.CREDITS.DT&TDAT2,

But it shows an error as below.

STMT NO. MESSAGE
12 IEFC627I INCORRECT USE OF AMPERSAND IN THE DSN FIELD

Need help please!!!!

Regards,
Tamil.
Back to top
View user's profile Send private message

Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2033
Location: Silicon Valley

PostPosted: Fri Jun 12, 2009 10:36 am    Post subject: Reply to: How to add date as Low level qualifier to a datase
Reply with quote

Sorry, I do not know OPC so this advice might not apply.

I think the ampersands can only be used within a proc. You need to define the proc and then pass in the date as a parameter.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Fri Jun 12, 2009 11:37 am    Post subject:
Reply with quote

I think, from my distant memories of OPC, that maybe a different substitution symbol is used to substitute OPC variables.

Have a chat with your scheduling team and see if they know.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


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

PostPosted: Fri Jun 12, 2009 11:37 am    Post subject:
Reply with quote

If OPC is not the only option then there are plenty of working examples in this Forum for a similar request. Please seach the Forum.
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 -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts How to get current date -1 and curren... murali.andaluri DFSORT/ICETOOL 3 Wed Mar 08, 2017 2:09 pm
No new posts Overlay the system date Danielle.Filteau SYNCSORT 4 Fri Mar 03, 2017 1:16 am
No new posts JCL to get submitted once dataset has... vinu78 JCL & VSAM 17 Thu Feb 16, 2017 7:32 am


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