Search found 1886 matches
- Mon Jan 12, 2026 8:24 pm
- Forum: Site Announcements and Rules.
- Topic: Track memory leaks in long COBOL jobs
- Replies: 1
- Views: 13448
Re: Track memory leaks in long COBOL jobs
BMC Mainview or Omegamon both let you look at storage usage while the program is running. Either of them would be the place to start.
- Tue Oct 07, 2025 3:31 am
- Forum: SMS & VSAM and BDAM, BSAM, QSAM, BPAM, ISAM, OAM.
- Topic: Variable‑length records in VSAM KSDS
- Replies: 3
- Views: 21112
Re: Variable‑length records in VSAM KSDS
Understanding your data is absolutely critical. Your requirements would be completely different for a data set with record lengths varying from 100 to 200 bytes as opposed to one with a base record length of 900 bytes and a maximum record length of 32767 bytes. You also want to understand how ...
- Sun Oct 05, 2025 7:17 pm
- Forum: SMS & VSAM and BDAM, BSAM, QSAM, BPAM, ISAM, OAM.
- Topic: KSDS sizing: picking CI/CA for ~337M records — rules of thumb?
- Replies: 1
- Views: 9455
Re: KSDS sizing: picking CI/CA for ~337M records — rules of thumb?
It definitely looks like you don't know what you're talking about -- your post title mentions 337M records while your post says 297M rows and then there is "data volume 163M records". I'm assuming you mean millions for each M although you did not specify. Questions you need to research include ...
- Mon Sep 15, 2025 9:23 pm
- Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
- Topic: COBOL file status 92 on VSAM
- Replies: 2
- Views: 9168
Re: COBOL file status 92 on VSAM
File status 92 on a VSAM file is frequently caused by not establishing a current record pointer before doing a read. If your VSAM is dynamic, move LOW-VALUES to the key and do a START before the READ. Otherwise, you'll need to post the FILE definition and the READ code for us to review.
- Thu Sep 11, 2025 8:19 pm
- Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
- Topic: COBOL program S0C7 abend, no bad data in input
- Replies: 2
- Views: 8199
Re: COBOL program S0C7 abend, no bad data in input
It doesn't really matter what you think -- the computer is telling you that there is bad data somewhere causing the S0C7. Until you start trusting the computer and closely scrutinizing your data, you will fail to identify the issue.
- Thu Jun 05, 2025 8:45 pm
- Forum: Other Mainframe Topics, Off-Topics, FAQs.
- Topic: Get the size of the tape on mainframes
- Replies: 2
- Views: 13248
Re: Get the size of the tape on mainframes
A tape management system is, by far, the easiest way to get what you want. Ask someone at your site (system programmer, operator, or other systems person) to find out if your site uses a tape management system.
If your site doesn't use a tape management system, your next best bet would be to write ...
If your site doesn't use a tape management system, your next best bet would be to write ...
- Thu May 29, 2025 6:22 pm
- Forum: JCL - Job Control Language.
- Topic: Get the attributes of VSAM dataset.
- Replies: 6
- Views: 19097
Re: Get the attributes of VSAM dataset.
You could probably use DCOLLECT but it could take a while to set it up correctly.
- Wed May 21, 2025 7:25 pm
- Forum: JCL - Job Control Language.
- Topic: Get the attributes of VSAM dataset.
- Replies: 6
- Views: 19097
Re: Get the attributes of VSAM dataset.
Are you really sure you want this? There may thousands or tens of thousands of VSAM data sets on any given mainframe. Your output may run several million lines.
There is no easy way to do this since there are no standard ways to name data sets.
There is no easy way to do this since there are no standard ways to name data sets.
- Mon Jan 13, 2025 8:40 pm
- Forum: Interview Questions.
- Topic: What is the difference between CALL and XCTL?
- Replies: 4
- Views: 18238
Re: What is the difference between CALL and XCTL?
If you are talking about the difference between EXEC CICS CALL and EXEC CICS XCTL, the former acts as a subroutine call and will return to the program (the statement after the EXEC CICS CALL) when the subprogram ends whereas the latter transfers control to the new program and does not return to the ...
- Sat Dec 14, 2024 10:47 pm
- Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
- Topic: What is AMODE 24 and 31 And RMODE?
- Replies: 4
- Views: 16813
Re: What is AMODE 24 and 31 And RMODE?
I mean what if there was no AMODE or it was very less like 8-bit, what exactly would happen? Why is the concept needed?
Prior to IBM's announcement of 31-bit addressing in 1983, there was no such thing as AMODE or RMODE. An address was 24 bits -- period. One thing to keep in mind is that IBM ...
- Sat Dec 07, 2024 8:33 am
- Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
- Topic: What is AMODE 24 and 31 And RMODE?
- Replies: 4
- Views: 16813
Re: What is AMODE 24 and 31 And RMODE?
AMODE is addressing mode, or how many bytes of memory can be addressed
RMODE is residency mode, or where the load module is loaded into memory
The original S/360 in 1964 used 24 bits (out of the 32 bits in the word) for addressing. This allows 16,777,216 bytes of memory to be addressed. AMODE 24 ...
RMODE is residency mode, or where the load module is loaded into memory
The original S/360 in 1964 used 24 bits (out of the 32 bits in the word) for addressing. This allows 16,777,216 bytes of memory to be addressed. AMODE 24 ...
- Tue Oct 15, 2024 10:28 pm
- Forum: Other Mainframe Topics, Off-Topics, FAQs.
- Topic: send email with an attachment from the mainframe
- Replies: 12
- Views: 23475
Re: send email with an attachment from the mainframe
Find and study RFC 5321, which is the Internet standard way to use SMTP to send mail. Sending attachments usually requires experimentation as the format is EXTREMELY picky and one wrong character may cause the attachment to not send. Also, your site must have enabled the SMTP writer. I recommend ...
- Wed Jul 24, 2024 7:00 pm
- Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
- Topic: read directly the last record of a input file
- Replies: 5
- Views: 14965
Re: read directly the last record of a input file
If the input file is sequential, you cannot directly read the last record.
- Tue Jun 04, 2024 6:19 pm
- Forum: Interview Questions.
- Topic: static or dynamic CALL in COBOL.
- Replies: 2
- Views: 12711
Re: static or dynamic CALL in COBOL.
Your question makes as much sense as asking "how high is up?" "Better" can be defined in different ways (such as lowest memory used, fastest execution time, easiest to modify, etc.) and hence the answer to your question will depend upon what you're wanting to optimize.
In general, dynamic calls ...
In general, dynamic calls ...
- Mon Jun 03, 2024 7:26 pm
- Forum: Other Mainframe Topics, Off-Topics, FAQs.
- Topic: minimum primary and secondary quantity of storage required
- Replies: 8
- Views: 20575
Re: minimum primary and secondary quantity of storage required
This is not accurate as there is system overhead as well. Manual GX26-4577 has the details for 3390 devices and it shows only 8 blocks of size 6160 will fit on a track.You could get 9 of these blocks onto one track (56664 divided by 6160)
- Sat May 04, 2024 10:16 pm
- Forum: Interview Questions.
- Topic: execute only step 2 and step 4 in JCL
- Replies: 1
- Views: 11880
Re: execute only step 2 and step 4 in JCL
Edit the JCL to delete the other steps and submit it.
- Tue Apr 23, 2024 8:27 pm
- Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
- Topic: checkpoint in cobol program?
- Replies: 2
- Views: 13672
Re: checkpoint in cobol program?
Read the RERUN clause in the I-O-CONTROL paragraph starting on page 154 of the version 6.4 of Enterprise COBOL Language Reference manual. You will probably also want to review the RERUN information in the Programming Guide manual.
- Tue Apr 23, 2024 8:21 pm
- Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
- Topic: read multiple input passed in COBOL
- Replies: 3
- Views: 14570
Re: read multiple input passed in COBOL
You can only pass ONE parameter from JCL to COBOL. You can parse that parameter any way you need, but it is only one parameter with one entry in the LINKAGE SECTION.
- Tue Apr 23, 2024 8:19 pm
- Forum: Interview Questions.
- Topic: copy data from vsam to ps
- Replies: 4
- Views: 14372
Re: copy data from vsam to ps
Why on earth would you want to do this? IDCAMS is easy to use and efficient. You could write a program to do the copy, but you'd have to write a program for every single copy you want to do -- use IDCAMS.
- Tue Apr 23, 2024 8:14 pm
- Forum: Interview Questions.
- Topic: soc7 error in huge file.
- Replies: 1
- Views: 12029
Re: soc7 error in huge file.
You will need to learn how to read the dump -- that will tell you the exact record with the problem and point you towards where the S0C7 occurred.