ftruncate() on MVS datasets.

Discussion in 'C Programming' started by John Fly, Apr 6, 2004.

  1. John Fly

    John Fly Guest

    I am trying to find a way to successfully call ftruncate() on an
    existing MVS dataset.

    I understand it takes a integer file descriptor, but fail to see how
    to get one for an open MVS data set.


    System is running Z/OS and we are not wanting to use HFS.

    Any help would be greatly appreciated.

    John
     
    John Fly, Apr 6, 2004
    #1
    1. Advertising

  2. John Fly

    Richard Bos Guest

    (John Fly) wrote:

    > I am trying to find a way to successfully call ftruncate() on an
    > existing MVS dataset.


    That would be because ftruncate() is not an ISO C function but an
    extension, and therefore doesn't belong on comp.lang.c.

    > I understand it takes a integer file descriptor,


    Which do not exist in ISO C (they are a feature of, amongst other
    things, Unix).

    > but fail to see how to get one for an open MVS data set.


    Greatly system-dependently.

    Richard
     
    Richard Bos, Apr 6, 2004
    #2
    1. Advertising

  3. In comp.lang.c John Fly <> wrote:

    > I am trying to find a way to successfully call ftruncate() on an
    > existing MVS dataset.


    Your post is off-topic for comp.lang.c. Please visit

    http://www.ungerhu.com/jxh/clc.welcome.txt
    http://www.eskimo.com/~scs/C-faq/top.html
    http://benpfaff.org/writings/clc/off-topic.html

    for posting guidelines and frequently asked questions. Thank you.

    --
    Christopher Benson-Manica | I *should* know what I'm talking about - if I
    ataru(at)cyberspace.org | don't, I need to know. Flames welcome.
     
    Christopher Benson-Manica, Apr 6, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. news.microsoft.com
    Replies:
    0
    Views:
    459
    news.microsoft.com
    Apr 12, 2006
  2. Francisco Garcia
    Replies:
    2
    Views:
    498
    Fran Garcia
    Apr 13, 2006
  3. Mark

    USS read MVS datasets

    Mark, Jun 28, 2003, in forum: Java
    Replies:
    2
    Views:
    2,442
    Jon A. Cruz
    Jun 29, 2003
  4. news.microsoft.com
    Replies:
    0
    Views:
    209
    news.microsoft.com
    Apr 12, 2006
  5. Francisco Garcia
    Replies:
    3
    Views:
    273
    vincent
    Apr 13, 2006
Loading...

Share This Page