Search found 63 matches

by Prakash Jha
Sun Sep 14, 2025 1:43 pm
Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
Topic: How do you usually explain the importance of COBOL to non-mainframe people?
Replies: 1
Views: 6649

How do you usually explain the importance of COBOL to non-mainframe people?

Hi,

Whenever I talk to colleagues from Java or cloud side, they ask why COBOL is still used. They feel it is outdated. I usually explain about reliability and banking systems, but not sure if it always convinces them.

How do you all handle such discussions? What is your one-liner to explain COBOL ...
by Prakash Jha
Sun Sep 14, 2025 1:40 pm
Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
Topic: COBOL file status 92 on VSAM
Replies: 2
Views: 9165

COBOL file status 92 on VSAM

Hi All,

I am facing an issue while trying to read a VSAM file sequentially. The program is giving file status 92. The file was loaded properly, so I was expecting it to run fine.Has anyone faced this type of problem before? Is it something to do with the OPEN mode or DD statement mismatch? Please ...
by Prakash Jha
Mon Apr 22, 2024 4:24 pm
Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
Topic: read multiple input passed in COBOL
Replies: 3
Views: 14569

Re: read multiple input passed in COBOL

If there are more than parameters passed from JCL, how do we recieve them in LINKAGE? If they are separate variable and don't belong to each other but passed in together?
by Prakash Jha
Mon Apr 22, 2024 4:23 pm
Forum: Thought of the Day, General Talk & Jokes.
Topic: Mainframe as a career.
Replies: 30
Views: 67569

Re: Mainframe as a career.

In between, starting from last October till Dec-Jan, there were good job, but seems like now again the market is down for job opening in mainframes.
by Prakash Jha
Mon Apr 22, 2024 2:14 pm
Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
Topic: read a VSAM file from bottom to top and length of a string using COBOL?
Replies: 5
Views: 29837

Re: read a VSAM file from bottom to top and length of a string using COBOL?


zum13Hello.

COBOL does have an intrinsic function called LENGTH, which can be used like this:

MOVE FUNCTION LENGTH(WA-INPUT-FIELD) TO WA-LENGTH

This will give you the length of the alphanumeric field or group field defined in working storage. It won't do anything clever like working out the ...
by Prakash Jha
Mon Apr 22, 2024 2:12 pm
Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
Topic: read a VSAM file from bottom to top and length of a string using COBOL?
Replies: 5
Views: 29837

Re: read a VSAM file from bottom to top and length of a string using COBOL?


Assuming you mean in reverse order when you say "from bottom to top" -- this cannot be done in Enterprise COBOL without adding a sequence number to the data set and sorting by the sequence number (descending).

Repeat after me: "COBOL DOES NOT HAVE STRINGS!" Look at the PICTURE for the variable ...
by Prakash Jha
Thu Apr 18, 2024 2:09 pm
Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
Topic: read multiple input passed in COBOL
Replies: 3
Views: 14569

read multiple input passed in COBOL

Hi,

How to read multiple input is passed by parm parameter from jcl in COBOL program?
by Prakash Jha
Thu Apr 18, 2024 1:51 pm
Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
Topic: read a VSAM file from bottom to top and length of a string using COBOL?
Replies: 5
Views: 29837

read a VSAM file from bottom to top and length of a string using COBOL?

Hi,

Can someone help me

1. How to read a VSAM file from bottom to top.
2. How to find the exact length of a string using COBOL?
by Prakash Jha
Sat Jan 02, 2021 10:27 pm
Forum: IBM DFSort, ICETOOL, ICEMAN, ICEGENER.
Topic: VSAM to VSAM copy.
Replies: 1
Views: 10842

VSAM to VSAM copy.

Hi,

I was trying to copy VSAM to another VSAM like in SORTIN and SORTOUT just 'same VSAMs' but different names. However the output came as flat file rather than as VSAM. Can this not be done?
by Prakash Jha
Sat Jan 02, 2021 9:48 pm
Forum: Thought of the Day, General Talk & Jokes.
Topic: Mainframe as a career.
Replies: 30
Views: 67569

Re: Mainframe as a career.

I think after an experience, in Indian market, every technology has similar situation for the Job, you are a liability to the company and they just don't want to pay you. But as such mainframes is enough stable career.
by Prakash Jha
Sat Jan 02, 2021 9:42 pm
Forum: Thought of the Day, General Talk & Jokes.
Topic: Happy New year 2021!
Replies: 5
Views: 17138

Re: Happy New year 2021!

Happy New year.

Hope this year brings hope. :)
by Prakash Jha
Thu Dec 03, 2020 8:06 pm
Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
Topic: Program compiled through 4.2 or 6.2?
Replies: 14
Views: 36706

Re: Program compiled through 4.2 or 6.2?

Thanks Robert.
(no support, either, but they don't usually need support).
Then how do they get it working, how they make the 'system level changes' happen?
by Prakash Jha
Sat Sep 05, 2020 7:23 pm
Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
Topic: Program compiled through 4.2 or 6.2?
Replies: 14
Views: 36706

Program compiled through 4.2 or 6.2?

Hi,

We are changing our COBOL compiler to COBOL 6.2. We were on COBOL 4.2. The path we are following is that we compile one program by one program. Now many times when a program we pick up from baseline to for new development, it's touch to know whether the program was installed with COBOl 6.2 or 4 ...
by Prakash Jha
Fri Feb 22, 2019 10:55 am
Forum: Interview Questions.
Topic: Define the definition of the COBOL Table.
Replies: 4
Views: 5201

Re: Define the definition of the COBOL Table.

I would say something like "WS-TABLE-DEF has 10 occurrences of WS-MAIN-TABLE. WS-MAIN-TABLE has 30 occurrences of WS-FIRST-CHILD, 20 occurrences of WS-SECOND-MAIN-TABLE, and 20 occurrences of WS-THIRD-MAIN-TABLE. WS-FIRST-CHILD in turn has 10 occurrences of WS-CHILD-CHILD." The table hierarchy won ...
by Prakash Jha
Fri Feb 22, 2019 10:52 am
Forum: Other Mainframe Topics, Off-Topics, FAQs.
Topic: File is visible in both prod and test.
Replies: 9
Views: 5544

Re: File is visible in both prod and test.

Thanks all.

Hi Enrico,

I am reading the document you have shared and I might have some follow up question. Will post them.
by Prakash Jha
Tue Feb 12, 2019 11:01 pm
Forum: Other Mainframe Topics, Off-Topics, FAQs.
Topic: File is visible in both prod and test.
Replies: 9
Views: 5544

Re: File is visible in both prod and test.

Thanks for you reply. I understand that there are many ways to do such set-up. I am just trying to understand that if this happens: 2. Why the file I create in test is visible in production?

Or you mean to say that there can be many differnt configuration which can show such behavior and there is ...
by Prakash Jha
Tue Feb 12, 2019 2:16 pm
Forum: Other Mainframe Topics, Off-Topics, FAQs.
Topic: File is visible in both prod and test.
Replies: 9
Views: 5544

Re: File is visible in both prod and test.

Thanks.

What I want to know is that when I am able to see the files on both regions that is Test and Production, does that mean that it is a single mainframe? And that means that it has got only one processor which is in use in both test and production?
by Prakash Jha
Mon Feb 11, 2019 11:41 am
Forum: Other Mainframe Topics, Off-Topics, FAQs.
Topic: File is visible in both prod and test.
Replies: 9
Views: 5544

File is visible in both prod and test.

Hi,

I have joined a new company and the setup here is very different than what it was in my last company. When I login to my testing environment on mainframes, they call it as TSOD and I use my ID/password to login. I create my test files here. Now when I login to production TSOP, I need to logoff ...

Go to advanced search