vb.net and cobol.net - passing filenames

From: ari (unikoski_at_yahoo.com)
Date: 03/28/05

  • Next message: Richard: "Re: Micro Focus COBOL/2 manuals for sale"
    Date: 28 Mar 2005 09:39:26 -0800
    
    

    I will need to transfer a number of mainframe cobol programs to a
    windows environment (fujitsu cobol.net), and write a vb.net control
    program to call them.

    The cobol programs are called repeatedly for different files: the cobol
    programs don't care, as they access the files using

    "select input-file assign to infile"

    where infile (on the mainframe) is a DDNAME and the physical filename
    is a DSNNAME.

    Under Micro-focus I could do this by setting an environment variable
    setting DDNAME=DSNNAME and it works fine.

    Is is possible to do the same here - i.e. have the VB.NET set
    environment variables and the cobol program will use to get the
    physical filename? Is there another option?

    I noticed the post

    http://groups-beta.google.com/group/comp.lang.cobol/browse_thread/thread/fa58209d23c06409/c0696c17c6069cd9?q=FILENAME+FUJITSU+COBOL+SELECT&rnum=12#c0696c17c6069cd9

    that suggests this will work - but will I always be bothered by the
    window popping up the post is asking about - or is is smart enough not
    to open the window if it has all the environment variables it needs?

    Unfortunately at the moment I don't yet have Fujistu so its hard for me
    to make tests at the moment.

    Thanks,


  • Next message: Richard: "Re: Micro Focus COBOL/2 manuals for sale"

    Relevant Pages

    • Re: porting 32-bit to 64-bit on Xeon
      ... IDE to build 64-bit applications while you maintain the same code base ... To set the 64-bit build environment variables, ... Build Environment Window", point to "Set Windows XP 64 Build ... change the folder to the \Microsoft Visual ...
      (microsoft.public.vc.mfc)
    • RE: VS6 and intel C++ 8.0 - how to compile for WIN64?
      ... Because the native 64-bit IDE is still under ... #toc: back to the ... To set the 64-bit build environment variables, ... Build Environment Window", point to "Set Windows XP 64 Build ...
      (microsoft.public.vstudio.general)
    • Re: porting 32-bit to 64-bit on Xeon
      ... > Set the 64-Bit Build Environment ... > Build Environment Window", point to "Set Windows XP 64 Build ... > Add a 64-Bit Debug Configuration- ... > to be deployed to an IA64 computer. ...
      (microsoft.public.vc.mfc)
    • Need help ASAP. Problems importing a form
      ... I work with a test database environment to develop or ... to the production db by opening the production db front ... Objects' window opened, I selected the form to import. ... I have been using this 'develop and import' environment ...
      (microsoft.public.access.externaldata)
    • Re: porting 32-bit to 64-bit on Xeon
      ... IDE to build 64-bit applications while you maintain the same code base ... Set the 64-Bit Build Environment ... Build Environment Window", point to "Set Windows XP 64 Build ... change the folder to the \Microsoft Visual ...
      (microsoft.public.vc.language)