Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

vb.net and cobol.net - passing filenames
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

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


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,


Report this thread to moderator Post Follow-up to this message
Old Post
ari
03-28-05 08:55 PM


Re: vb.net and cobol.net - passing filenames
You can assign  files to environment variables in the Fujitsu environment.

But a better way is to use the external Cobol85.cbr file which controls the
environment and also prevents the popups you mentioned.

The external 'environment file' has all the options you could want and can
be maintained with any text editor.

You could easily write this file from VB if you wanted to...

The manuals document the full use of the environment file. It is
comprehensive. Just use what you need; NONE of it is mandatory.

Pete.

TOP POST no more.
"ari" <unikoski@yahoo.com> wrote in message
news:1112031566.887938.40380@o13g2000cwo.googlegroups.com...
> 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...0696c17c6069cd9
>
>
> 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,
>
>




Report this thread to moderator Post Follow-up to this message
Old Post
Pete Dashwood
03-29-05 01:55 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Cobol archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 06:52 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.