Many thanks all for the replys. I actually don't care much about OOP. I am good at writing green screen applications, but would like add GUI to replace the green screen.
I'll have a look at VB.
I really do love this forum!
I have a copy of "micro focus visual object cobol." It is old, but looks like a good low cost, way to learn something about OOP and GUI programming for the novice.
The documentation isn't written for beginners. Does anyone recall anything like a "for dummies" manual for this development...
Thanks Dimandja! I missed seeing that on Futitsu's support page.
Okay, I still have an NT box. Suppose I create a simple V4 COBOL program. What's the chance of it running on XP?
Waycon
I have Fujitsu COBOL V4. It came free with a book, "Mastering COBOL" written by Carol Baroudi.
It worked great on NT4, but I have upgraded to XP Pro and cannot install the COBOL software. I ran Microsoft's Application Compatibility Tool utility and it made 19 fixes to the setup.exe file on...
Gianni,
Saw your post, now two years old.
I'm trying to install Fujitsu COBOL V4 under XP 2000 Pro. Tried using the instructions you referenced, but the the Microsoft Application Compatibility Tool user interface has changed. Are you aware of any current instructions that will help me...
Razalas,
Not only is it elegant, but it works. Thanks for your suggestion.
It's been many years since I used COBOL seriously and then the COBOL I was using didn't have an unstring command. I have some reading to do.
In analyzing this problem I've also discovered that when I accept data into...
Marcel,
I tried your example with the following results. Obviuosly, I'm overlooking something.
IDENTIFICATION DIVISION.
PROGRAM-ID. TEST1.
DATA DIVISION.
WORKING-STORAGE SECTION.
01 VARX PIC X(09).
01 VAR9 REDEFINES VARX PIC 9(09).
01 10K...
Dimandja,
You were the first to reply so I am trying your suggestion first. I wrote a small test program. The result was
100010000. Where am I going wrong?
IDENTIFICATION DIVISION.
PROGRAM-ID. TEST1.
DATA DIVISION.
WORKING-STORAGE SECTION.
01 VARX PIC X(20) VALUE...
What is the best way to convert an X(8)field to a 9(8)field? Simply moving the X type to the 9 type causes a justification problem.
I am using Fujitsu COBOL, not Power Cobol.
Erba,
That sounds like the way to go! I'll try it out and let you know. If it works it will save me the extra step of converting tabs to something else.
Dimandja.
The 20 character record size was just a experiment to see if the program would do three reads reads for a 50 character text file and indeed it does. I changed that to a 100 character record and initialized the DATA-SUBSCRIPT to zero. Tabs were still not found.
I now know what's...
Dimanja,
Thanks for sticking with me on this.
Here's the answer to your questions by way of a detailed explanation.
The TXT file I am using contains the following characters:
12345678>912345678>912345678>912345678>912345678>9 where > is a tab. That's a total of 50 characters including 5...
Thanks for all the suggestions. I've tried them all, but I am still having a problem identifying tabs.
My test file is a notepad txt file with the character string : 12345678>9 where ">" represents the horizontal tab.
A hex dump of the tax file shows: 0 31 32 33 34 35 36 37 38...
I have a need to examine the contents of a tab delimited text file.
To find the start and end of each field I need to look at each character in the string to determine if it's a tab character.
My question is in regard to how to define a tab character for comparison. I'm thinking that I can...
In my former life I wrote business applications in COBOL. CIRCA late 1970's and 80's. This was the old style "green screen" COBOL.
I was pretty good at it, but I've been out of the business for sometime. I now have a need to write some custom business apps. To learn what today's...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.