Thanks for your replies so far guys, maybe I hadn’t phrased my question clearly enough so a brief example may help clear up what I’m looking for
Say I have a file of one million records. It is a VSAM file sorted in key sequence. I don’t think the storage medium makes that much difference in...
Anyone got an idea of the typical time difference between a cobol sequential or a random read of a single record. Prefereably a referance in generally accepted documentation
I'm looking for a ratio rather than an absolute time which would obviously vary from platform to platform.
I'd like some...
Don't know if you're still looking for help mate but here's a starting point:
Your installation has probably modified the initial screen you get after login, but you should still find a menu option that takes you to the program development facility (PDF)
From the next screen things should be...
Have you tried putting the full path of each of the files in your select statements.
You may need to include the path between quotes as in:
SELECT TST-FILE ASSIGN TO "C:\COBOL\PROJECT\TST-FILE.TXT".
If you're allowing duplicates on your primary key, you are bound to pick up problems with your read , delete and rewrite statements.
This is because, with duplicates allowed on primary keys, you cannot uniquely identify records within a file.
The code you have provided doesn't replicate your outcome.
If I use the exact code & data you have provided, the output is correct ie.
01acti012008-04-15 01:42:032008-04-15 01:42:03
02acti022008-04-15 01:42:032008-04-15 01:42:03
(I'm not sure how you land up with the delimiter in your...
Has anyone come across an OSS cobol compiler that isn't going to require a major re-write?
I'm going to be taking some noobs through a bit of Cobol training and don't want to first have to explain TSO and JCL basics to them before they can write a simple "hello world" program.
We were hoping to...
The file status code 04 will also be returned if the value of WS-CUSTMSTR-LENGTH doesn't correspond to the record you have just read. From your code it is not possible to see where you are setting the value of this field. My suggestion is to display the value of WS-CUSTMSTR-LENGTH and check this...
I have a list box on a form which I want to force users to make a selection from in order to continue a process.
Example:user must make a selection from ProdList and then hit a "Display" button. This will result in a function being called that will display information about the product...
For the price of Websphere licensing fees you may as well run your dev and testing through the bog standard TSO/ISPF on the m/f (unless of course you want to make use of all the java stuff which is what Websphere is essentially for)
Now unless you're mucking about on a toybox without the...
IMHO anything prefixed by the word "function" couldn't be considered 85-standard. Although many similarities exist between different installations (Microfocus / Enterprise etc) these are all strictly speaking "intrinsic" functions as opposed to the standard cobol verbs like EVALUATE & INSPECT
A simple solution would be to set up and open an indexed file for input output (I-O). You could then maintain records interactively on the file as well as carrying out batch processing
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.