View Full Version : RTVDDSSRC
01-01-1995, 02:00 AM
Here I am stuck w/o TAATOOLS.. Do any of you know of a poor man's RTVDDSSRC; I'm going to have to write one from scratch, otherwise. thnx, bobh
05-16-2000, 02:20 PM
Are you missing source on many files, or just a few. For one or two DSPFFD and manual entry should work. OTOH you could DSPFFD to an outfile and process that data into QDDSSRC. Dave
05-16-2000, 02:51 PM
David, The only issue with DSPFFD, is that you do not get the line # the field belongs on. I went through this a few days ago with a PRTF. Neither the outfile for the PRTF or DSPF objects have the line #. You get, size, input/output buffer, type and decimals, and field name. All good, but you have to copy/move the fields around. On the PRTF this is not so bad, I have not tried this with a DSPF yet. Later, Bret Myrick
05-16-2000, 06:23 PM
Bob, Check out a utility I wrote for the April or May (forget which) 1997 issue of Midrange Computing. It is a command called RTVFDDS, which will retrieve the DDS source for a file into a source member of your choosing. If you have the MC Resouce CD, it's on that, or you can download the code from the MC Website. HTH
05-16-2000, 09:22 PM
I've never seen any way to download code from the MC web. If I can find your code I will sure give it a try... thnx, bobh
05-17-2000, 07:39 AM
You haven't? Is that because you just can't find it or because you didn't know the downloadable code page existed? If you're having trouble finding it, it makes me wonder if other people are too. Here's the link to the downloadable code page. Downloadable Code (http://www.midrangecomputing.com/mc/code.cfm) All you really have to do is click on "Magazines" from the home page, then Midrange Computing then click on the "Downloadable Code" link.
05-17-2000, 09:01 AM
Shanon, How about putting the "downloadable code" link on the main page. I usually click on the "site map" to find it.
05-17-2000, 09:21 AM
Shanon, How about putting the "downloadable code" link on the main page. I usually click on the "site map" to find it. I think that's a great idea! I'll forward this on to Joe Hertvik who is the Director of Web Development. Thanks for the suggestion!
05-17-2000, 09:25 AM
Bob, I think you can use QDBRTVFD. If haven't used it for this purpose, but I am under the impression that this would work. For display files, I think there is another API. For printer files, I do not know what to do.
05-17-2000, 09:39 AM
OK, I got the code up into a source file on the 400. I am really getting to like ws_ftp; it loads into a source file and makes the conversions. bobh
05-17-2000, 03:31 PM
This is a very nice utility. I have tested on two or three files; looks good thanks very much... PS ;; have you ever looked at printer/display files....??? bobh
05-17-2000, 05:08 PM
I added an acknowledgement for the program in a small display file at the start of rtv002cl. bobh
05-18-2000, 07:34 AM
Glad it's helping Bob. I think you could pretty easily expand that to rebuild Display and Printer files. I was limited on how much I could do at the time I wrote it. Back then we were printing entire programs in the magazine, along with the article explaining how to use it. So, space was limited. Shouldn't be too terribly difficult to add that functionality though.
05-18-2000, 07:57 AM
Where do you get the line/column info for the prtf or dspf? bobh
05-18-2000, 08:00 AM
Off the top of my head, I couldn't say. However, I'd guess that all or most of that information is available in the FILE APIs used by that utility. If not, you might look into the other FILE APIs that are out there.
05-19-2000, 01:46 PM
If you want to retrieve row and column numbers in a display file, try the DSPDSPF utility that MC published in January 2000.
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.