Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     How to query FOCUS file date (MVS/TSO) 7.0.9

Read-Only Read-Only Topic
Go
Search
Notify
Tools
How to query FOCUS file date (MVS/TSO) 7.0.9
 Login/Join
 
Member
posted
I am creating an ON TABLE HOLD AS CUSTOMER FORMAT FOCUS INDEX CUSTNUM . I'm planning to DYNAM ALLOC and catalog the file with a specific DSN . Sometime later and from several different programs, I want to check to see if a file currently exists with this name and if it was created today. If it was created today, I want to avoid having to recreate the HOLD file again as it takes a while to run and the data will be exactly the same if it was created today. What options would I have using dialogue mgr commands to interrogate a FOCUS file for its creation date?
 
Posts: 7 | Registered: May 25, 2006Report This Post
Expert
posted Hide Post
-? TSO DDNAME CAR

Unfortunately, create date is not part of the available &'s:

DDNAME = CAR
DSNAME = EDA.VSR2M00.CAR.FOCUS
DISP = OLD
DEVICE = DISK
VOLSER = TSOPAK
DSORG = PS
RECFM = F
SECONDARY = 1
ALLOCATION = TRACKS
BLKSIZE = 4096
LRECL = 4096T
RKTOT = 2
EXTENTSUSED = 1
BLKSPERTRK = 10T
RKSPERCYL = 15
CYLSPERDISK = 886
BLKSWRITTEN = 20
FOCUSPAGES = 8

Run the load in batch at night, then, no worries...


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Expert
posted Hide Post
I dug around and it doesn't look there's a way to query the Last Changed Date of a FOCUS DB. THe quickest way to resolve this would be to add a field to the FOCUS DB if possible.


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Platinum Member
posted Hide Post
If memory serves correctly both ? fdt filename and ? file filename will give you last change date - if you can get the info to a file, then you could check it --- hope that helps a little

vivian


Vivian Perlmutter
Aviter, Inc.


WebFOCUS Keysheet Rel. 8.0.2
(Almost) 1001 Ways to Work with Dates thru Rel. 8.0.2
Focus since 1982
WebFOCUS since the beginning
Vivian@aviter.com

 
Posts: 191 | Location: Henderson, Nevada | Registered: April 29, 2003Report This Post
Expert
posted Hide Post
This may be of help in the future...

Tech Support: NF829: AUTODATE for FOCUS Data Sources


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Member
posted Hide Post
Vivian wins the prize! Cesare Petrizio from IBI help line sent me sample code for doing just this.

Thanks for help
 
Posts: 7 | Registered: May 25, 2006Report This Post
Expert
posted Hide Post
Well then, wouldn't you like to share that information with us?


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     How to query FOCUS file date (MVS/TSO) 7.0.9

Copyright © 1996-2020 Information Builders