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     [SOLVED] AS400 Reporting Server - accessing a windows shared folder

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] AS400 Reporting Server - accessing a windows shared folder
 Login/Join
 
Gold member
posted
Our reporting server is installed on an AS400 and i'm trying to map a path to a windows shared folder to get some pictures.
This is the code i used when trying this on the windows server and it works good:

APP MAP IMAGES 'W:\pics'
APP PREPENDPATH IMAGES

I need to do the same from the reporting server on the AS400 to this directory:

/qntc/storagesrv/Pictures/Pics

I can ping and connect to the server from the command line.

This message has been edited. Last edited by: Joe Beydoun,


version 8202M
Reporting Server on
Windows Server using DB2 Connect to access data from iseries.
 
Posts: 78 | Registered: December 29, 2009Report This Post
Expert
posted Hide Post
Your subject says "accessing a windows shared folder", but "/qntc/storagesrv/Pictures/Pics" doesn't look like a Windows path...


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
Expert
posted Hide Post
Joe, can you do this from AS400, outside WebFOCUS ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Gold member
posted Hide Post
It is, i used the MKDIR command to create the path.


version 8202M
Reporting Server on
Windows Server using DB2 Connect to access data from iseries.
 
Posts: 78 | Registered: December 29, 2009Report This Post
Gold member
posted Hide Post
Waz,

i can see the path to these files from the AS400:

Work with Object Links

Directory . . . . : /QNTC/storagesrv/Pictures/Pics - Website

Type options, press Enter.
2=Edit 3=Copy 4=Remove 5=Display 7=Rename 8=Display attribu
11=Change current directory ...

Opt Object link Type Attribute Text
item images DDIR
Pics - New.lnk DSTMF
000063.jpg DSTMF
000069.jpg DSTMF
000103.jpg DSTMF
000109.jpg DSTMF
000121.jpg DSTMF
000310.jpg DSTMF
000401.jpg DSTMF


version 8202M
Reporting Server on
Windows Server using DB2 Connect to access data from iseries.
 
Posts: 78 | Registered: December 29, 2009Report This Post
Expert
posted Hide Post
So if the directory is there, is it session related?
Does it exist for the WebFOCUS processes ?

I'm not an AS400 person, but does the path need to be there prior to the WebFOCUS process being called?

Can you call th MKDIR command from with is WebFOCUS ?

A bit of testing to determine the state of play.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Gold member
posted Hide Post
it's not session related, as long as the proper user is accessing it, it's available on the system permanently.

Unfortunately i'm also not well versed with the AS400 file system.


version 8202M
Reporting Server on
Windows Server using DB2 Connect to access data from iseries.
 
Posts: 78 | Registered: December 29, 2009Report This Post
Gold member
posted Hide Post
Ok, this worked:

APP MAP IMAGES /qntc/
APP QUERY IMAGES

Result:

BEGIN-APP-QUERY: images
10/01/2011 15.40.55 1200 storagesrv
END-APP-QUERY

I just can't get the full path name or anything beyond this.


version 8202M
Reporting Server on
Windows Server using DB2 Connect to access data from iseries.
 
Posts: 78 | Registered: December 29, 2009Report This Post
Gold member
posted Hide Post
This might be a windows security issue at this point.

I'll repost after poking our network admin to help me with some tests tomorrow.

Appreciate the help everyone.


version 8202M
Reporting Server on
Windows Server using DB2 Connect to access data from iseries.
 
Posts: 78 | Registered: December 29, 2009Report This Post
Expert
posted Hide Post
I wouldn't be surprised if Windows security got in the way.

Smiler


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Gold member
posted Hide Post
This is all set now, thanks everyone for the help. There was a password mismatch between the iseries and the windows server, so we're all set now.


version 8202M
Reporting Server on
Windows Server using DB2 Connect to access data from iseries.
 
Posts: 78 | Registered: December 29, 2009Report 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     [SOLVED] AS400 Reporting Server - accessing a windows shared folder

Copyright © 1996-2020 Information Builders