Search found 61 matches
- Mon Apr 22, 2024 4:24 pm
- Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
- Topic: read multiple input passed in COBOL
- Replies: 3
- Views: 1490
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?
- Mon Apr 22, 2024 4:23 pm
- Forum: Thought of the Day, General Talk & Jokes.
- Topic: Mainframe as a career.
- Replies: 30
- Views: 27216
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.
- 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: 1838
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 length ...
- 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: 1838
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...
- Thu Apr 18, 2024 2:09 pm
- Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
- Topic: read multiple input passed in COBOL
- Replies: 3
- Views: 1490
read multiple input passed in COBOL
Hi,
How to read multiple input is passed by parm parameter from jcl in COBOL program?
How to read multiple input is passed by parm parameter from jcl in COBOL program?
- 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: 1838
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?
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?
- Sat Jan 02, 2021 10:27 pm
- Forum: IBM DFSort, ICETOOL, ICEMAN, ICEGENER.
- Topic: VSAM to VSAM copy.
- Replies: 1
- Views: 1660
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?
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?
- Sat Jan 02, 2021 9:48 pm
- Forum: Thought of the Day, General Talk & Jokes.
- Topic: Mainframe as a career.
- Replies: 30
- Views: 27216
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.
- Sat Jan 02, 2021 9:44 pm
- Forum: Thought of the Day, General Talk & Jokes.
- Topic: Why this thread has been locked?
- Replies: 3
- Views: 1616
Re: Why this thread has been locked?
It was fun though!
- Sat Jan 02, 2021 9:42 pm
- Forum: Thought of the Day, General Talk & Jokes.
- Topic: Happy New year 2021!
- Replies: 5
- Views: 2087
Re: Happy New year 2021!
Happy New year.
Hope this year brings hope.
Hope this year brings hope.
- Thu Dec 03, 2020 8:07 pm
- Forum: Interview Questions.
- Topic: Define the definition of the COBOL Table.
- Replies: 4
- Views: 1737
Re: Define the definition of the COBOL Table.
Thank you Robert.
- 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: 4361
Re: Program compiled through 4.2 or 6.2?
Thanks Robert.
Then how do they get it working, how they make the 'system level changes' happen?(no support, either, but they don't usually need support).
- 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: 4361
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....
- Fri Feb 22, 2019 10:55 am
- Forum: Interview Questions.
- Topic: Define the definition of the COBOL Table.
- Replies: 4
- Views: 1737
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 hier...
- 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: 3012
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.
Hi Enrico,
I am reading the document you have shared and I might have some follow up question. Will post them.
- 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: 3012
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 no...
- 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: 3012
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?
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?
- 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: 3012
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 f...
- Mon Nov 12, 2018 11:17 am
- Forum: Interview Questions.
- Topic: Define the definition of the COBOL Table.
- Replies: 4
- Views: 1737
Define the definition of the COBOL Table.
Hi, Interviewer gave me this definition of tables in COBOL - 01 WS-TABLE-DEF. 05 WS-MAIN-TABLE OCCURS 10 TIMES. 10 WS-FIRST-CHILD OCCURS 30 TIMES 15 WS-CHILD-CHILD PIC 9(5) OCCURS 10 TIMES 10 WS-SECOND-MAIN-TABLE PIC 9(4) OCCURS 20 TIMES 10 WS-THIRD-MAIN-TABLE PIC 9(3) OCCURS 20 TIMES And asked to r...
- Mon May 28, 2018 3:23 pm
- Forum: Interview Questions.
- Topic: Move comp-3 to comp-3.
- Replies: 2
- Views: 1545
Move comp-3 to comp-3.
Hi, Can I move comp-3 variable directly to another comp-3 variable? Or I need any alphanumeric in between? My answer was that we can move one comp-3 to another comp-3 but interview said what happen to the v in say var1 is comp3 PIC 9(4)v9(2) and var2 is PIC 9(6)v9(3)? He said what happens to v in th...