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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
copy files
 Login/Join
 
<lumen>
posted
How can I copy one sequential dataset to another using FOCUS.
 
Report This Post
Expert
posted Hide Post
CMD COPY D:\IBI\APPS\filea.ext D:\IBI\APPS\fileb.ext /Y
Further, you can append b to a, if you want
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
<lumen>
posted
quote:
Originally posted by susannah:
[qb] CMD COPY D:\IBI\APPS\filea.ext D:\IBI\APPS\fileb.ext /Y
Further, you can append b to a, if you want [/qb]
Thats great. But I want a dataset in mainframe to be copied.Can it be done in same way ?
 
Report This Post
<Steve Cowell>
posted
Are you doing this in ISPF or from within Focus using DYNAM?
 
Report This Post
<lumen>
posted
quote:
Originally posted by Steve Cowell:
[qb] Are you doing this in ISPF or from within Focus using DYNAM? [/qb]
Yes Iam using ISPF and TED editor for coding focus
 
Report This Post
Virtuoso
posted Hide Post
If you are creating each file within the FOCUS environment, have you considered a DYNAM to allocate the file as 'new' at the start and then in each successive 'creation' use DYNAM to the file with 'MOD'. In other words, use the capabilities the mainframe gives you for dispostion of files. Can't give you a 'working' example in mainframe world as we no longer have the mainframe version. However, it would be similar in the webFOCUS world of using a FILEDEF to allocate a file the first time and then reallocate the same file with the ( append added for saving or holding the file with a name.
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
<Steve Cowell>
posted
If the COPY_TO dataset already exists then you simply 'DYNAM COPY from_dsn to_dsn', there are a number of options in the manual.
 
Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders