Focal Point
[SOLVED] &DSNAME
November 11, 2008, 02:40 PM
Alan[SOLVED] &DSNAME
I'm trying to capture the GDG number from the dataset name using ? TSO DDNAME somedd but I'm not getting a value for &DSNAME.
MVS FOCUS...old stuff but still very much alive.
Any suggestions?
This message has been edited. Last edited by: Alan,
WF 7.6.6, FOCUS 7.6.4, IBM MVS/TSO, Windows 2003 Server, DB2, MSSQL
November 11, 2008, 03:05 PM
GinnyJakesWell, I had to look it up. Try:
-? TSO DDNAME
It has been a loooooooooong time since I've had to use this command.
Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
November 11, 2008, 03:20 PM
Francis MarianiIt's a -? TSO DDNAME statement, with a dash as the first character, correct?
If that doesn't work, try
? TSO DDNAME somedd
-RUN
-TYPE &DSNAME
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
November 11, 2008, 03:24 PM
GinnyJakesquote:
It's a -? TSO DDNAME statement, with a dash as the first character, correct?
That is correct. It populates a host of amper variables. Your second example won't work as the display goes to the terminal.
Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
November 11, 2008, 03:30 PM
David BriarsTry:
DYNAM ALLOC DD ALAN DS TLA.TEST.BKP.DAILY.FOCUS.ALAN.G0005V00 SHR REUSE
-RUN
-? TSO DDNAME ALAN
-TYPE &DSNAME
Pilot: WebFOCUS 8.2.06 Test: WebFOCUS 8.1.05M Prod: WebFOCUS 8.1.05M Server: Windows Server 2016/Tomcat Standalone Workstation: Windows 10/IE11+Edge Database: Oracle 12c, Netezza, & MS SQL Server 2019 Output: AHTML/XLSX/HTML/PDF/JSCHART Tools: WFDS, Repository Content, BI Portal Designer & ReportCaster
|
November 11, 2008, 04:07 PM
AlanThanks Guys! The "-" corrected the problem.
WF 7.6.6, FOCUS 7.6.4, IBM MVS/TSO, Windows 2003 Server, DB2, MSSQL