Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] unable to access mainframe directory using WebFOCUS Dev-studio
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] unable to access mainframe directory using WebFOCUS Dev-studio
 Login/Join
 
Member
posted
I am trying to access source data set from WebFOCUS dev studio. The DDNAME ‘CITIDMAP’ is not getting recognized. Please Share your comments

Code:
-SET ECHO=ALL;
-SET &DATASET='$1051.TPP.SAVE.INSPNA.PERM.D0504';

DYNAM FREE FI CITIDMAP
-RUN

DYNAM ALLOC FI CITIDMAP DA &DATASET SHR REUSE
-RUN

TABLE FILE CITIDMAP
PRINT
ITRANSCODE
WHERE RECORDLIMIT EQ 10
END

Error:
-SET &DATASET='$1051.TPP.SAVE.INSPNA.PERM.D0504';
DYNAM FREE FI CITIDMAP
-RUN
0 ERROR AT OR NEAR LINE 4 IN PROCEDURE ttk FOCEXEC *
(FOC913) UNABLE TO FIND DDNAME CITIDMAP
DYNAM ALLOC FI CITIDMAP DA $1051.TPP.SAVE.INSPNA.PERM.D0504 SHR REUSE
-RUN
TABLE FILE CITIDMAP
PRINT
ITRANSCODE
WHERE RECORDLIMIT EQ 10
END
0 ERROR AT OR NEAR LINE 14 IN PROCEDURE ttk FOCEXEC *
(FOC036) NO DATA FOUND FOR THE FOCUS FILE NAMED: CITIDMAP

This message has been edited. Last edited by: <Kathryn Henning>,
 
Posts: 9 | Registered: July 03, 2014Reply With QuoteReport This Post
Master
posted Hide Post
Only 2 things I can think to ask..

Is the Data Server setup correctly under EDASERVE?
Is the folder properties have the correct app path?



- FOCUS Man, just FOCUS!
-----------------------------
Product: WebFOCUS
Version: 8.1.04
Server: Windows 2008 Server
 
Posts: 578 | Registered: October 01, 2014Reply With QuoteReport This Post
Gold member
posted Hide Post
It seems the first error (FOC913) is for the line trying to do a FREE. Since the file is probably not allocated at the time of executing that line, it causes an error. If, instead of CITIDMAP, you use a wildcard, as in CITIDMA*, it will not cause an error if the file is not already allocated. However, make sure that there is no other file that you inadvertently FREE because it meets the wildcard pattern.
Not sure whet5her the second error is related to the first one or not.


Diptesh
WF 7.1.7 - AIX, MVS
 
Posts: 79 | Location: Warren, NJ, USA | Registered: October 25, 2006Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Are you certain that dataset $1051.TPP.SAVE.INSPNA.PERM.D0504 exists and contains a valid FOCUS file?
See if the following sequence makes TABLE succeed (or reveals the problem):

-SET &DATASET='$1051.TPP.SAVE.INSPNA.PERM.D0504';
? TSO DSNAME &DATASET
DYNAM ALLOC FI CITIDMAP DA &DATASET SHR REUSE
? TSO DDNAME CITIDMAP
CHECK FILE CITIDMAP
USE
CITIDMAP
END
TABLE ...

(Since you allocate with REU option, FREE should be unnecessary.)


- Jack Gross
WF through 8.1.05
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] unable to access mainframe directory using WebFOCUS Dev-studio

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.