Home

Results 1 to 4 of 4

Thread: Using zAPI zCreate to create files in DOS and MAC name space

Threaded View

  1. #1
    Join Date
    Feb 2013
    Posts
    4

    Using zAPI zCreate to create files in DOS and MAC name space

    I want to use zAPI zCreate to create files in DOS and MAC namespaces on a NSS volume which is presently in LONG name space.
    I have called zCreate as:
    Code:
    				ccode= zCreate(volKey, TaskId, zNILXID, nameSpace | zMODE_UTF8, 
    					file_path_create, zFILE_REGULAR, 0, 0, zRR_READ_ACCESS | zRR_WRITE_ACCESS, &file_key);

    To create file in DOS name space when I pass the file path as "NSS_VOL:/USERS/dos_fileee" then I get error 20403( zERR_INVALID_NAME).

    To create file in MAC name space when I pass the file path as "NSS_VOL:/USERS/mac_fileee" then I get no error but file is not created.

    How to use zCreate to create files in DOS and MAC namespaces on a NSS volume?
    Last edited by prupesh; 03-Apr-2015 at 12:13 PM. Reason: correction

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •