Search found 25 matches
- Sun Jun 02, 2019 2:41 pm
- Forum: Interview Questions.
- Topic: Index and Subscript?
- Replies: 13
- Views: 6212
Re: Index and Subscript?
Thanks. There are GnuCOBOL Compilers, do they also behave same? How can we check that?
- Sun Jun 02, 2019 2:38 pm
- Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
- Topic: INDEX is set to a high number.
- Replies: 2
- Views: 2516
Re: INDEX is set to a high number.
Thanks Robert.
You are correct, there is a sequential search in the program. I had to change that search to BINARY search and that did not work with this code, as you said. This code was needed to be changed. Thanks again for your explanation.
You are correct, there is a sequential search in the program. I had to change that search to BINARY search and that did not work with this code, as you said. This code was needed to be changed. Thanks again for your explanation.
- Wed May 29, 2019 7:02 pm
- Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
- Topic: INDEX is set to a high number.
- Replies: 2
- Views: 2516
INDEX is set to a high number.
There is a table in COBOL program which is defined like this: 05 TAB-REC OCCURS 5000 TIMES. 10 TABLE-NEW PIC X(08). 10 TABLE-OLD PIC X(08). 10 TABLE-TYP PIC X(03). Now later in the program it is used like this: 3000-GET-MATCHING-JOB. IF AU-NEW-JOB-NAME = TABLE-NEW(INDX) MOVE TABLE-TYP(INDX) TO SAVE-...
- Fri Apr 01, 2016 8:14 am
- Forum: Interview Questions.
- Topic: Index and Subscript?
- Replies: 13
- Views: 6212
Re: Index and Subscript?
The OFFSET compiler option will give the displacement of the first instruction generated by the compiler for the line of code. The LIST compiler option lists all the generated instructions. An offset from an abend can be found exactly in the LIST output, except for the important case Robert mention...
- Fri Apr 01, 2016 8:11 am
- Forum: Other Mainframe Topics, Off-Topics, FAQs.
- Topic: Legacy Modernization.
- Replies: 8
- Views: 1063
Re: Legacy Modernization.
In our company, when it's a mainframe project and people talk about legacy modernization, it always means to get away from mainframes. But according to some of the recent advancement in mainframes, should legacy modernization really meant to move away from mainframes? Such news are worrisome. If it...
- Fri Apr 01, 2016 8:07 am
- Forum: Other Mainframe Topics, Off-Topics, FAQs.
- Topic: Legacy Modernization.
- Replies: 8
- Views: 1063
Re: Legacy Modernization.
I've seen various systems running on Windows servers described as "legacy systems" so legacy modernization may not refer to a mainframe (even though most of them do). Broadly, legacy modernization is the process of moving legacy systems (HOWEVER they are defined) to a modern platform usi...
- Wed Mar 23, 2016 7:28 am
- Forum: SMS & VSAM and BDAM, BSAM, QSAM, BPAM, ISAM, OAM.
- Topic: Reading VSAM in Rexx.
- Replies: 5
- Views: 2933
Re: Reading VSAM in Rexx.
oh...thanks for that information.nicc wrote:However, RXVSAM is a non-standard add-on which many (most?) sites do not have.
- Wed Mar 23, 2016 7:27 am
- Forum: Interview Questions.
- Topic: Index and Subscript?
- Replies: 13
- Views: 6212
Re: Index and Subscript?
For a COBOL programmer, the key parts of the dump are the information about the offset in the program where the ABEND occurred (which gives you the statement that has the problem -- use the OFFSET or LIST compiler output to find the line with the offset or closest match to the offset and that's the...
- Wed Mar 16, 2016 12:24 pm
- Forum: Thought of the Day, General Talk & Jokes.
- Topic: Count to a Million!
- Replies: 234
- Views: 88192
- Wed Mar 16, 2016 12:20 pm
- Forum: Other Mainframe Topics, Off-Topics, FAQs.
- Topic: Legacy Modernization.
- Replies: 8
- Views: 1063
Legacy Modernization.
Hi, What is Legacy Modernization? I thought it was to do with moving to newer technologies, like moving away from the mainframes. But when searched the forum on this I got to the topic http://www.zmainframes.com/viewtopic.php?f=35&t=2045 which says same for something else: they both describe pl...
- Wed Mar 16, 2016 12:10 pm
- Forum: Testing Tools, Mainframe Application Testing, Abends Solution & QA.
- Topic: What is Back-end Testing?
- Replies: 6
- Views: 4206
Re: What is Back-end Testing?
I guess it depends on the process: take an ATM withdrawal transaction - front-end testing would be testing the software on the ATM and back-end testing would be the processing of that transaction once it has been passed to the mainframe (or wherever) for amending account balances, writing journals ...
- Wed Mar 16, 2016 12:10 pm
- Forum: Interview Questions.
- Topic: Index and Subscript?
- Replies: 13
- Views: 6212
Re: Index and Subscript?
Can you please guide how to understand the dump? I hardly understand anything there.William Collins wrote:You don't have to worry about calulating it. The compiler does it for you. By the time you are able to locate an index in a dump, you'll be comfortable with how it was calculated.
- Wed Mar 16, 2016 12:04 pm
- Forum: SMS & VSAM and BDAM, BSAM, QSAM, BPAM, ISAM, OAM.
- Topic: Reading VSAM in Rexx.
- Replies: 5
- Views: 2933
Re: Reading VSAM in Rexx.
Thanks enrico-sorichetti. But we don't have File-Manager. I have searched more on it and have below examples with me now. Using the REPRO command and a temporary non-VSAM data set, a REXX exec can use EXECIO to retrieve and update VSAM data, as shown in this example: "ALLOCATE DD(TEMPDD) NEW SP...
- Sun Mar 13, 2016 10:18 pm
- Forum: SMS & VSAM and BDAM, BSAM, QSAM, BPAM, ISAM, OAM.
- Topic: Reading VSAM in Rexx.
- Replies: 5
- Views: 2933
Reading VSAM in Rexx.
[font=Arial]Hi, [/font]
[font=Arial]I searched for it but i came to know that we can not access VSAM using REXX? Is it so? Is not it possible to read a KSDS VSAM in REXX? [/font]
[font=Arial]Thanks in advance for any help.[/font]
[font=Arial] [/font]
[font=Arial]I searched for it but i came to know that we can not access VSAM using REXX? Is it so? Is not it possible to read a KSDS VSAM in REXX? [/font]
[font=Arial]Thanks in advance for any help.[/font]
[font=Arial] [/font]
- Tue May 06, 2014 12:06 pm
- Forum: Testing Tools, Mainframe Application Testing, Abends Solution & QA.
- Topic: What is Back-end Testing?
- Replies: 6
- Views: 4206
Re: What is Back-end Testing?
Ok, Thanks. But how can we relate it to the mainframes?
- Tue May 06, 2014 12:05 pm
- Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
- Topic: Double word boundary?
- Replies: 4
- Views: 3546
Re: Double word boundary?
Ok. Thanks, hopefully I'll start understing these things more as I progress.
- Tue May 06, 2014 12:04 pm
- Forum: Interview Questions.
- Topic: Index and Subscript?
- Replies: 13
- Views: 6212
Re: Index and Subscript?
Ok got it. I've read some weired way of calculating it and was confused.
Thanks.
Thanks.
- Tue Apr 29, 2014 1:39 pm
- Forum: Interview Questions.
- Topic: What is the difference between SECTION and Paragraph?
- Replies: 2
- Views: 3226
Re: What is the difference between SECTION and Paragraph?
Thanks Robert.
- Tue Apr 29, 2014 1:37 pm
- Forum: Interview Questions.
- Topic: Index and Subscript?
- Replies: 13
- Views: 6212
Re: Index and Subscript?
Is there a way to calculate the offset for the gven index in cobol table?Robert Sample wrote:An index represents an offset into the table whereas a subscript represents an occurrence
- Tue Apr 29, 2014 1:35 pm
- Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
- Topic: Double word boundary?
- Replies: 4
- Views: 3546
Re: Double word boundary?
Thanks Robert.
What does it mean that "data aligned on double-word boundaries"?
What does it mean that "data aligned on double-word boundaries"?