Search found 25 matches

by cobollearn
Sun Jun 02, 2019 2:41 pm
Forum: Interview Questions.
Topic: Index and Subscript?
Replies: 13
Views: 5594

Re: Index and Subscript?

Thanks. There are GnuCOBOL Compilers, do they also behave same? How can we check that?
by cobollearn
Sun Jun 02, 2019 2:38 pm
Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
Topic: INDEX is set to a high number.
Replies: 2
Views: 2322

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.
by cobollearn
Wed May 29, 2019 7:02 pm
Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
Topic: INDEX is set to a high number.
Replies: 2
Views: 2322

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-...
by cobollearn
Fri Apr 01, 2016 8:14 am
Forum: Interview Questions.
Topic: Index and Subscript?
Replies: 13
Views: 5594

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...
by cobollearn
Fri Apr 01, 2016 8:11 am
Forum: Other Mainframe Topics, Off-Topics, FAQs.
Topic: Legacy Modernization.
Replies: 8
Views: 759

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...
by cobollearn
Fri Apr 01, 2016 8:07 am
Forum: Other Mainframe Topics, Off-Topics, FAQs.
Topic: Legacy Modernization.
Replies: 8
Views: 759

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...
by cobollearn
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: 2253

Re: Reading VSAM in Rexx.

nicc wrote:However, RXVSAM is a non-standard add-on which many (most?) sites do not have.
oh...thanks for that information.
by cobollearn
Wed Mar 23, 2016 7:27 am
Forum: Interview Questions.
Topic: Index and Subscript?
Replies: 13
Views: 5594

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...
by cobollearn
Wed Mar 16, 2016 12:24 pm
Forum: Thought of the Day, General Talk & Jokes.
Topic: Count to a Million!
Replies: 234
Views: 74127

Re: Count to a Million!

188
by cobollearn
Wed Mar 16, 2016 12:20 pm
Forum: Other Mainframe Topics, Off-Topics, FAQs.
Topic: Legacy Modernization.
Replies: 8
Views: 759

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...
by cobollearn
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: 2376

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 ...
by cobollearn
Wed Mar 16, 2016 12:10 pm
Forum: Interview Questions.
Topic: Index and Subscript?
Replies: 13
Views: 5594

Re: Index and Subscript?

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.
Can you please guide how to understand the dump? I hardly understand anything there.
by cobollearn
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: 2253

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...
by cobollearn
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: 2253

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]
by cobollearn
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: 2376

Re: What is Back-end Testing?

Ok, Thanks. But how can we relate it to the mainframes?
by cobollearn
Tue May 06, 2014 12:05 pm
Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
Topic: Double word boundary?
Replies: 4
Views: 3152

Re: Double word boundary?

Ok. Thanks, hopefully I'll start understing these things more as I progress.
by cobollearn
Tue May 06, 2014 12:04 pm
Forum: Interview Questions.
Topic: Index and Subscript?
Replies: 13
Views: 5594

Re: Index and Subscript?

Ok got it. I've read some weired way of calculating it and was confused.

Thanks.
by cobollearn
Tue Apr 29, 2014 1:37 pm
Forum: Interview Questions.
Topic: Index and Subscript?
Replies: 13
Views: 5594

Re: Index and Subscript?

Robert Sample wrote:An index represents an offset into the table whereas a subscript represents an occurrence
Is there a way to calculate the offset for the gven index in cobol table?
by cobollearn
Tue Apr 29, 2014 1:35 pm
Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
Topic: Double word boundary?
Replies: 4
Views: 3152

Re: Double word boundary?

Thanks Robert.

What does it mean that "data aligned on double-word boundaries"?

Go to advanced search