How to use vutil -e with a multiple key pars

Hi, I’am not a cobol programmer. For a work I need to read vision files because I need to integrate two different systems. I can read it correctly using vutil -unload and parsing the fixed record structure file it will give me in output.

As the file is very big, this process requires time to read and parse the entire vision file every time. I found the extract option of vutil with which I can specify a key value to start with. However I cannot understand how I can specify this value when the primary key of the vision file has multiple parts.

Tags:

  • 0

    Hi Misah,

    I think we need some more information:

    What language are you programming in ?

    Do you have the record description ? In what format ? Cobol, xfd etc.?

    To enter the start key for vutil extract usually you have to join the different parts of the key.

    For

    01 prim-key.

     02 prim-customer pic x(10).

     02 prim-itemno pic x(22).

    you enter this (the dots stand for spaces)

    key value: ABC.......4711

    A question for my fellow cobol users: Would it make sense that Misah looks into I$IO ?  


  • 0

    Why not have the cobol programmer write a cobol program that you can call to extract the data? You can call the program at the command.com (DOS) command line or you can probably call it directly depending on the language you are using (Acucobol refer to this as interoperability)