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     [Case-Opened] Copy Sequential Files from one centre to another

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[Case-Opened] Copy Sequential Files from one centre to another
 Login/Join
 
Platinum Member
posted
Hi All,

I have a requirement to copy a file (mainframe) from one centre to another centre thru Web Focus, each centre is configured and can be connected via REMOTE BEGIN/END.

But not sure how to do this (copying files between centres), could any one help me.


WebFOCUS 7.6.4, Mainframe Focus
Windows XP, All Output Formats
 
Posts: 135 | Registered: November 30, 2010Report This Post
<JG>
posted
quote:
centre to another centre

By this do you basically mean mainframe to mainframe?

If so batch ftp job.
 
Report This Post
Expert
posted Hide Post
What is the file you are copying ?

REMOTE BEGIN/END, ships code from one WebFOCUS server to another for executing, the chances for transfering files is limited.

WebFOCUS can pull data from one server to another, this is done several ways.


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
Platinum Member
posted Hide Post
JG, ya mainframe to mainframe.

Waz, i want to copy a simple fixed block format file (80 bytes).

I tried using REMOTE BEGIN/END, but hasn't worked, could you pls share the sample code.


WebFOCUS 7.6.4, Mainframe Focus
Windows XP, All Output Formats
 
Posts: 135 | Registered: November 30, 2010Report This Post
Platinum Member
posted Hide Post
JG & Waz, any solution for this?


WebFOCUS 7.6.4, Mainframe Focus
Windows XP, All Output Formats
 
Posts: 135 | Registered: November 30, 2010Report This Post
Expert
posted Hide Post
When you say Mainframe to Mainframe, they are different mainframes ?, no shared places?

The best technique I can think of would be to create a fex on the source server that TABLE FILEs the data, and PCHOLDs it, then on the destination server use remote begin/end and execute the created fex, this should bring the data to the destination server.

e.g. Source Server Focexec getdata(.fex)
DYNAM ALLOC/FILEDEF ....
TABLE FILE data
....
ON TABLE PCHOLD
END


e.g. Destination server
REMOTE DEST node
REMOTE USER user     (If needed)
REMOTE PASSWORD password (If needed)
-REMOTE BEGIN
EX GETDATA
-REMOTE_END
....


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
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [Case-Opened] Copy Sequential Files from one centre to another

Copyright © 1996-2020 Information Builders