to invoke an URL from COBOL



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

to invoke an URL from COBOL

Postby krneeraj81 » Fri Sep 19, 2008 4:26 pm

Hi is it possible to invoke an URL from COBOL??
If yes can you provide me the code..
krneeraj81
 
Posts: 2
Joined: Fri Sep 19, 2008 4:16 pm
Has thanked: 0 time
Been thanked: 0 time

Re: to invoke an URL

Postby dick scherrer » Fri Sep 19, 2008 8:22 pm

Hello and welcome to the forums,

You need to clarify just what you want to do.

What is your meaning of "invoke an URL"?

How do you want the web site to "talk" with your program?

If you explain what you want to accomplish, comeone may have suggestions.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: to invoke an URL

Postby krneeraj81 » Fri Sep 19, 2008 8:40 pm

Thanks a lot Dick!!

What I wanted to know is there any way by which we can open a webpage through cobol...is it possible???
krneeraj81
 
Posts: 2
Joined: Fri Sep 19, 2008 4:16 pm
Has thanked: 0 time
Been thanked: 0 time

Re: to invoke an URL from COBOL

Postby dick scherrer » Sat Sep 20, 2008 2:24 am

Hello,

Until you answer the earlier questions, i cannot even try to guess. . .
You need to clarify just what you want to do.
What is your meaning of "invoke an URL"?
How do you want the web site to "talk" with your program?
If you explain what you want to accomplish, someone may have suggestions.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: to invoke an URL from COBOL

Postby gireesh.cgs » Mon Sep 29, 2008 4:14 pm

Hi,

The question is stright forward.

Assume you are executing some program and suddenly you want to throw some information on to the screen and expecting some information from the user. In this case, the both output and input for your program is through some webpage. So, instead of using some interface, can we directly call URL from the source code?

Regards,
Gireesh.
gireesh.cgs
 
Posts: 2
Joined: Mon Sep 29, 2008 3:48 pm
Has thanked: 0 time
Been thanked: 0 time

Re: to invoke an URL from COBOL

Postby dick scherrer » Tue Sep 30, 2008 3:26 am

Hello,

The question is stright forward.
No it is not. . . . If one knows very little about the technology, it might seem straightforward, but sorry, it is not.

This is a mainframe forum, not a pc forum. If a "user" is going to see some info thrown by the system and/or enter some info into the system, it will typically be thru some type of 3270 terminal emulator, not some web page. Pretty much all of the web pages i use require the mouse, in additon to the keyboard, and the 3270 does not use the mouse. In addition to being mouse-driven, web pages have their own protocol for exchanging information (http) which is not used in mainframe to terminal exchanges.

So, instead of using some interface, can we directly call URL from the source code?
So, maybe you will be willing to define this. . . Maybe you could post some example of how this might work.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: to invoke an URL from COBOL

Postby dick scherrer » Sun Oct 19, 2008 4:44 am

Hello,

Has there been any progress?

Is there maybe a more clear definition of what is wanted?

d
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post