Usage of cobol program in QTP

Guy Werry guy.werry at hbms.ca
Thu Jul 19 07:51:23 CDT 2007


Agreed. 

In my specific case, I've written Cobol programs for cases where the
logic was just too convoluted for Qtp.  It was one of those cases where,
yes, I probably could have done it in Qtp, but Cobol would allow me to
do it in a clearer fashion, with more control.  

Guy L. Werry
Senior Systems Analyst
Hudson Bay Mining & Smelting Co., Limited. 

-----Original Message-----
From: Viet Nguyen [mailto:VNguyen at wsboces.org] 
Sent: Thursday, July 19, 2007 7:47 AM
To: Guy Werry; powerh-l at lists.sowder.com
Subject: RE: Usage of cobol program in QTP

If you share the temp data in a Relational database it would be quite
painless especially now that PH is going to hook up to mysql you can get
that for free. And who would want to rewrite a cobol program if you
already have it!

-----Original Message-----
From: powerh-l-bounces+vnguyen=wsboces.org at lists.sowder.com
[mailto:powerh-l-bounces+vnguyen=wsboces.org at lists.sowder.com] On Behalf
Of Guy Werry
Sent: Wednesday, July 18, 2007 3:44 PM
To: powerh-l at lists.sowder.com
Subject: RE: Usage of cobol program in QTP

You know, it really isn't as much of a pain as what it sounds like,
although you do have to be really careful to avoid things like floating
point data, which really confuses Cobol!

I find the work defining the data structures to be worth it because of
the overhead in reading / linking database files in Cobol.  Qtp is much
easier and faster to develop in for that.  As a matter of fact, since
1990 or so I've only had a couple of instances where the processing that
I was doing was so weird and convoluted that I had to resort to Cobol.
I use Powerhouse instead.  As a matter of fact, I don't use Fortran any
more, unless I'm doing maintenance on an existing program and even then
I'll try to re-write it in Powerhouse ... It's just that much more
convenient!

And, managing the sequence of events in batch is child's play.  Just
don't mess with the stream code and you're good to go!

Guy L. Werry
Senior Systems Analyst
Hudson Bay Mining & Smelting Co., Limited. 


-----Original Message-----
From: powerh-l-bounces+guy.werry=hbms.ca at lists.sowder.com
[mailto:powerh-l-bounces+guy.werry=hbms.ca at lists.sowder.com] On Behalf
Of Johnson, Tracy
Sent: Wednesday, July 18, 2007 2:35 PM
To: Deskin, Bob; Viet Nguyen; Pandurang Rajpurohit;
powerh-l at lists.sowder.com
Cc: Joe Boyle
Subject: RE: Usage of cobol program in QTP

True, you would have to do something strange, like write the data to a
file with QTP then pick it up at a later time with COBOL.  Defining the
file structure in both programs would be a royal pain.  Then you'd have
to manage the sequence of events properly, either manually in or batch.
Depending how often you'd have to switch between the two programs.  It
would be less trouble just to stick with COBOL.


Tracy Johnson
Measurement Specialties, Inc.

BT







NNNN

-----Original Message-----
From: powerh-l-bounces+tracy.johnson=meas-spec.com at lists.sowder.com
[mailto:powerh-l-bounces+tracy.johnson=meas-spec.com at lists.sowder.com]
On Behalf Of Deskin, Bob
Sent: Wednesday, July 18, 2007 1:39 PM
To: Viet Nguyen; Pandurang Rajpurohit; powerh-l at lists.sowder.com
Cc: Joe Boyle
Subject: RE: Usage of cobol program in QTP


You can, but there is no connection between the COBOL program and QTP.
In other words, you can't pass data back and forth.

Bob
-----Original Message-----
From: Viet Nguyen [mailto:VNguyen at wsboces.org]
Sent: July 18, 2007 1:29 PM
To: Deskin, Bob; Pandurang Rajpurohit; powerh-l at lists.sowder.com
Cc: Joe Boyle
Subject: RE: Usage of cobol program in QTP


Why can't you do a Shell command  like "! cobol.sh" ?


-----Original Message-----
From: powerh-l-bounces+vnguyen=wsboces.org at lists.sowder.com
[mailto:powerh-l-bounces+vnguyen=wsboces.org at lists.sowder.com] On Behalf
Of Deskin, Bob
Sent: Wednesday, July 18, 2007 1:26 PM
To: Pandurang Rajpurohit; powerh-l at lists.sowder.com
Cc: Joe Boyle
Subject: RE: Usage of cobol program in QTP

You can't call a COBOL subroutine directly from QTP. There is no
equivalent of QUICK's DO EXTERNAL. There may be other techniques to run
a program as a subprocess but there would be no connection between the
COBOL program and QTP.
Bob
Bob Deskin
Senior Product Manager
Application Development Tools
Cognos Incorporated
Office: 613-738-1338 ext. 7268
bob.deskin at cognos.com
http://powerhouse.cognos.com
-----Original Message-----
From: powerh-l-bounces+bob.deskin=cognos.com at lists.sowder.com
[mailto:powerh-l-bounces+bob.deskin=cognos.com at lists.sowder.com] On
Behalf Of Pandurang Rajpurohit
Sent: July 18, 2007 9:21 AM
To: powerh-l at lists.sowder.com
Cc: Joe Boyle
Subject: Usage of cobol program in QTP

Hello All, 


Any one could suggest how to make use of cobol program in  QTP. 

Thanks & Regards
Pandurang Rajpurohit,

------------------------------------------------------------------------
------------
IBM India Private Limited,
Seat No 268, 4th Floor, Tower B, Tech Park One, S.No 19/A/2A/1/2, Near
DON BOSCO School, Off Airport Road, Yerwada, PUNE 411006 Phone (Br) :
+91 020 40115000 - 16322 Phone (Dir) : +91 020 40116322 Cell :
+91-09922054662 EMAIL : pandurang.rajpurohit at in.ibm.com 

     This message may contain privileged and/or confidential
information.  If you have received this e-mail in error or are not the
intended recipient, you may not use, copy, disseminate or distribute it;
do not open any attachments, delete it immediately from your system and
notify the sender promptly by e-mail that you have done so.  Thank you. 

-- 

= = = = = = = = = = = = = = = = = = = = = = = = = = = = Mailing list:
powerh-l at lists.sowder.com
Subscribe: "subscribe" in message body to
powerh-l-request at lists.sowder.com
Unsubscribe: "unsubscribe <password>" in message body to
powerh-l-request at lists.sowder.com
http://lists.sowder.com/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.
Add 'site:lists.sowder.com powerh-l' to your search terms to search the
list archive at Google.

The information in this e-mail and any attachments is confidential and
may be subject to legal professional privilege. It is intended solely
for the attention and use of the named addressee(s). If you are not the
intended recipient, or person responsible for delivering this
information to the intended recipient, please notify the sender
immediately. Unless you are the intended recipient or his/her
representative you are not authorised to, and must not, read, copy,
distribute, use or retain this message or any part of it.

--

= = = = = = = = = = = = = = = = = = = = = = = = = = = = Mailing list:
powerh-l at lists.sowder.com
Subscribe: "subscribe" in message body to
powerh-l-request at lists.sowder.com
Unsubscribe: "unsubscribe <password>" in message body to
powerh-l-request at lists.sowder.com
http://lists.sowder.com/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.
Add 'site:lists.sowder.com powerh-l' to your search terms to search the
list archive at Google.

The information in this e-mail and any attachments is confidential and may be subject to legal professional privilege. It is intended solely for the attention and use of the named addressee(s). If you are not the intended recipient, or person responsible for delivering this information to the intended recipient, please notify the sender immediately. Unless you are the intended recipient or his/her representative you are not authorised to, and must not, read, copy, distribute, use or retain this message or any part of it.



More information about the powerh-l mailing list