Search found 439 matches
- Tue May 06, 2014 12:17 pm
- Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
- Topic: Accessed 18th Element from an Array of 15 Elements?
- Replies: 6
- Views: 2367
Re: Accessed 18th Element from an Array of 15 Elements?
Ask the people who installed COBOL at your site. It can be, it is site-dependant. Many sites prefer it as the defualt, either through installation or by the default compile options provided through the panels to compile programs. However, there are three arguments against it, for me: it encourages l...
- Mon May 05, 2014 8:07 pm
- Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
- Topic: Accessed 18th Element from an Array of 15 Elements?
- Replies: 6
- Views: 2367
Re: Accessed 18th Element from an Array of 15 Elements?
COBOL puts a heavy emphasis on the coder getting it right. If you don't check that you only access within the bounds of your table, then it is not likely that your program is a very robust one. As Robert has pointed out, these days there is SSRANGE, (partial) saviour of many a lazy coder. Another ar...
- Mon May 05, 2014 8:01 pm
- Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
- Topic: What is default program name?
- Replies: 9
- Views: 3074
Re: What is default program name?
It is an easy thing to experiment with once you have access to a system. Compile a program without PROGRAM-ID and post the compiler diagnostics you get. For fun, also write a program which uses CALL identifier (rather than CALL literal). Experiment with setting identifier to things which they are no...
- Mon May 05, 2014 2:16 pm
- Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
- Topic: 88-Level and display.
- Replies: 7
- Views: 3349
Re: 88-Level and display.
You can't directly DISPLAY the values associate with 88's (for the reasons Robert has gone into) but you can see them. In your source. In the compile listing. In the loadmodule on the library, as part of the module in a dump, etc. Why would you need more than that?
- Thu May 01, 2014 1:15 pm
- Forum: JCL - Job Control Language.
- Topic: Is it possible to change the record length of a PS
- Replies: 11
- Views: 7395
Re: Is it possible to change the record length of a PS
The LRECL is just a piece of commentary. It is the maximum length of a logical record in a dataset. If you want to "change" that, there is absolutely and utterly, utterly, no problem in doing so. Whether your data can still be read, depends on the data and what you are trying to read it wi...
- Mon Apr 28, 2014 4:52 pm
- Forum: JCL - Job Control Language.
- Topic: Is it possible to change the record length of a PS
- Replies: 11
- Views: 7395
Re: Is it possible to change the record length of a PS
Yes. However, without some clue as to what you want to do, it is difficult to say anything beyond that. Once we know what you want, the answer may become No, or may remain Yes, but with additional details.
- Mon Apr 28, 2014 4:01 am
- Forum: Personal Computers - Mainframe related tools.
- Topic: Open Office.
- Replies: 3
- Views: 1970
Re: Open Office.
And there's Libre Office.....
- Mon Apr 21, 2014 8:06 pm
- Forum: SyncSort, SyncTool, SyncGener.
- Topic: What is the difference between internal and external sort?
- Replies: 5
- Views: 4057
Re: What is the difference between internal and external sor
COBOL has a SORT verb (and a MERGE). It is up to the implementer (IBM in this case) as to how this is implemented. I don't know if it has been always, but it seems like forever that IBM has implemented it by using the installed SORT product, which makes a lot of sense. I suspect all COBOL implementa...
- Tue Apr 08, 2014 6:25 pm
- Forum: TSO, ISPF & REXX (Do you still do CLIST?!).
- Topic: Delete data from column in Edit Mode.
- Replies: 9
- Views: 3577
Re: Delete data from column in Edit Mode.
Go into the Help and find out about Picture strings.
- Mon Apr 07, 2014 3:33 pm
- Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
- Topic: cancel statement in cobol.
- Replies: 3
- Views: 2478
Re: cancel statement in cobol.
If using dynamic CALL, for the first CALL for a given module, that module is loaded into memory. CANCEL for that same program name will remove it from memory.
It is not very likely you will need to use it.
It is not very likely you will need to use it.
- Mon Apr 07, 2014 2:50 pm
- Forum: Interview Questions.
- Topic: How 1234 will be in COMP, COMP-1, COMP-2, COMP-3?
- Replies: 2
- Views: 981
Re: How 1234 will be in COMP, COMP-1, COMP-2, COMP-3?
Size for USAGE COMP depends on your PICture. If you have PIC 9(4) then it is two bytes, a half-word. What you would see, is the binary value which gives 1234, preceded by zeros if necessary. COMP-1/COMP-2 are floating-point. They are fixed size and cannot have a PICture. COMP-3 size again depends on...
- Thu Apr 03, 2014 6:30 pm
- Forum: SyncSort, SyncTool, SyncGener.
- Topic: How to convert FB to VB file and opposite?
- Replies: 5
- Views: 4354
Re: How to convert FB to VB file and opposite?
Look at CONVERT in your documentation, VTOF, FTOV
- Wed Mar 26, 2014 4:15 am
- Forum: Thought of the Day, General Talk & Jokes.
- Topic: A very simple but confusing puzzle.
- Replies: 16
- Views: 3331
Re: A very simple but confusing puzzle.
OK, I'm going with enrico's last now. The Lady has walked off with 1000 (800 + 200). The Shopkeeper thinks he has turned 200 of stock into cash. The Neighbour thinks he is flat. The Neighbour notices the fake, so is 1000 down. The Neighbour goes to the Shopkeeper to get his 1000 back. Neighbour is f...
- Wed Mar 26, 2014 1:19 am
- Forum: SMS & VSAM and BDAM, BSAM, QSAM, BPAM, ISAM, OAM.
- Topic: Sub module COBOL CALL, JCL changes.
- Replies: 4
- Views: 2263
Re: Sub module COBOL CALL, JCL changes.
As long as you have your dynamically CALLed programs in a JOBLIB/STEPLIB available to your step, no further changes should be required. Do you have a specific problem?
- Tue Mar 25, 2014 10:47 pm
- Forum: Thought of the Day, General Talk & Jokes.
- Topic: A very simple but confusing puzzle.
- Replies: 16
- Views: 3331
Re: A very simple but confusing puzzle.
Pandora, Forget the 1000 note. It is not worth 1000. It is worth zero. Lady got 200 (goods) plus 800 cash. Shopkeeper 1000 down. To give the lady 1000 (including the goods) the Shopkeeper took 1000 from his neighbour. The neighbour realised, and recovered the 1000 from the shopkeeper. Lady got 1000 ...
- Tue Mar 25, 2014 9:22 pm
- Forum: Testing Tools, Mainframe Application Testing, Abends Solution & QA.
- Topic: Reading DUMP.
- Replies: 6
- Views: 4741
Re: Reading DUMP.
You have the PSW, you have the registers, you have the dump. Everything you need to get started. Application program? System program? Vendor program?
- Tue Mar 25, 2014 9:20 pm
- Forum: JCL - Job Control Language.
- Topic: DISP for PDS and PS.
- Replies: 5
- Views: 3215
Re: DISP for PDS and PS.
Correct, for a new member the DISP is not NEW, because the dataset already exists, it is simply new content in an existing dataset.
- Tue Mar 25, 2014 9:19 pm
- Forum: Thought of the Day, General Talk & Jokes.
- Topic: A very simple but confusing puzzle.
- Replies: 16
- Views: 3331
Re: A very simple but confusing puzzle.
The lady has taken (as in stolen) 200 in goods, 800 in cash, "paying" with the fake note. The first shopkeeper has taken 1000 from the second shopkeeper, "paying" a second time with the fake note. The second shopkeeper has recovered his 1000. The first shopkeeper is 2000 down. Th...
- Tue Mar 25, 2014 2:09 pm
- Forum: Suggestions & Feedback : About the website.
- Topic: Test User.
- Replies: 9
- Views: 2722
Re: Test User.
OK, clearing browser cache did it (Firefox). I can now seem thumbs. I can now thank and un-thank at will.
- Tue Mar 25, 2014 2:03 pm
- Forum: Suggestions & Feedback : About the website.
- Topic: Test User.
- Replies: 9
- Views: 2722
Re: Test User.
Inverted triangle with exclamation mark, quote button, cool red hat... oh, that's you Anuj. No thumb.