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     Reg:-(Mainframes) Creating files in focus and sending thru cyberfusion

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Reg:-(Mainframes) Creating files in focus and sending thru cyberfusion
 Login/Join
 
Member
posted
Hi,

I am using the below command to create a file in one of my focus programs.

DYNAM ALLOC FILE RLDB159A DA &FINFILE NEW CATLG

Once i create this file I will populate it with some data depending on some validations. And then send this file to some Windows system through Cyberfusion.

All this works fine if the file is not empty. IF the file is empty the record format of the file is not known and the Cyberfusion job fails to send the data stating that the Record format of the file is not valid.

Please find the attributes of the file created below.

General Data Current Allocation
Volume serial . . . : FOC00D Allocated cylinders : 20
Device type . . . . : 3390 Allocated extents . : 1
Organization . . . : PS
Record format . . . : ?
Record length . . . : 0
Block size . . . . : 0 Current Utilization
1st extent cylinders: 20 Used cylinders . . : 0
Secondary cylinders : 20 Used extents . . . : 0

Creation date . . . : 2006/02/02
Referenced date . . : 2006/02/14
Expiration date . . : ***None***


Can anyone please let me know what should be done in such scenario and how to mention the record format while creating a file in focus.


Thanks
Sandesh Gadgil
 
Posts: 16 | Registered: December 20, 2005Report This Post
Virtuoso
posted Hide Post
As I recall from olden days, you can add the DCB parameters as part of the file allocation, that in combination with set emptyreport on may help with your problem.

Good luck to you.


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Guru
posted Hide Post
A couple of other suggestions:
1. Test &LINES in Dialog Manager code to see if any lines were written then execute some code based on the result of the test.
2. See what SET EMPTYREPORT = ON does. This may put out an empty dataset.
3. Research the -MVS commands to see if one could be helpful in your case.
4 ? HOLD can tell you about the output dataset's format.

Like leah says, these are from the "olden" days.

HTH.


jimster06
DevStu WF 7.6.11
W7
HTML, PDF, EXL2K
 
Posts: 252 | Location: USA | Registered: April 15, 2003Report This Post
Member
posted Hide Post
Hi Huys,

Sorry for the late response. I was on vacation so could not respond. I will try and let you know.

Thanks once again for all your suggestions.


Thanks
Sandesh Gadgil
 
Posts: 16 | Registered: December 20, 2005Report 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     Reg:-(Mainframes) Creating files in focus and sending thru cyberfusion

Copyright © 1996-2020 Information Builders