truncating data from sequential files

General discussion on the JZOS batch launcher and toolkit
Post Reply
zweefs
Posts: 3
Joined: Mon Sep 03, 2007 1:17 am

truncating data from sequential files

Post by zweefs »

Hi,

Does anybody has experience truncating sequential data sets using ZFILE or other means?

We are looking for an implementation of the C++ library ftruncate() in a java library.

java.nio supports truncate as well (see http://java.sun.com/j2se/1.4.2/docs/ap ... ne l.html )

Or are there any other alternatives to delete written data (records) from a file?

Greetz[/url]
dovetail
Site Admin
Posts: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Post by dovetail »

This is a limitation of the z/OS C++ library - classic MVS datasets cannot be truncated in the middle.

For more discussion, see: http://www.ibm.com/developerworks/forum ... 694&cat=28
Post Reply