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     Using OCOPY in JCL to move a PDF file from MVS to the USS

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Using OCOPY in JCL to move a PDF file from MVS to the USS
 Login/Join
 
Member
posted
Does anyone know of somebody that has successfully moved a PDF file from MVS to the USS using the OCOPY command in JCL ? We have tried a number of options on the OCOPY with unsuccessful results. The resulting file calls Adobe Acrobat and Acrobat displays a dialog reading "corrupt or damaged file" or "file does not begin with %PDF-".

I can use FTP to drop this file in the USS and it is fine but our security policy makes it tough to get FTP access for all developers. If anyone has a clue what OCOPY options to use could you please share them with me.

Thanks,
Lou
 
Posts: 17 | Location: SSA, Maryland | Registered: May 06, 2003Report This Post
<Pietro De Santis>
posted
OCOPY looks like a utility to copy database files and backups - it might be mangling the PDF file.

I'm not sure what USS is, but have you tried to TSO ALLOC to the USS area to directly create the PDF file there instead of having to copy it?
 
Report This Post
Virtuoso
posted Hide Post
USS is IBM's implementation of Unix on (MVS) mainframes.
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report This Post
<Pietro De Santis>
posted
Can you add a FILEDEF for the PDF report in the FEX?
 
Report This Post
Member
posted Hide Post
I now have OCOPY working with FOCUS release 7.1.1. Releases above this do not yet work.

OCOPY JCL shown below:


//$2158HTM JOB NOTIFY=&SYSUID
//*MAIN SYSTEM=SY51
//***************************************************************
//* B A T C H J C L
//***************************************************************
//*
//***************************************************************
//TSOCOPY EXEC PGM=IKJEFT01
//********************************************************************
//*** THE QUOTED STRING IN THE FOLLOWING PATH STMT MUST BE LOWER CASE
//HFSOT DD PATH='/web_shared/appsdev/EMIS/cpmsmi/cartest.pdf',
//********************************************************************
// PATHOPTS=(OWRONLY,OCREAT,OTRUNC),
// PATHMODE=(SIRWXU,SIRGRP,SIXGRP,SIROTH,SIXOTH)
//MVSIN DD DISP=SHR,DSN=$2158.LOU
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
OCOPY INDD(MVSIN) OUTDD(HFSOT) TEXT -
CONVERT('sys1.linklib(BPXFX311)') FROM1047 PATHOPTS(USE)
/*


WF 7.6.11 PDF deployment, z/OS, WAS, Excel, PDF, HTML. FOCUS 7.6.11, same outputs.
 
Posts: 17 | Location: SSA, Maryland | Registered: May 06, 2003Report 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     Using OCOPY in JCL to move a PDF file from MVS to the USS

Copyright © 1996-2020 Information Builders