Search found 89 matches

by zum13
Sun May 05, 2024 4:30 pm
Forum: IBM DFSort, ICETOOL, ICEMAN, ICEGENER.
Topic: IBM DFSort, ICETOOL, ICEMAN, ICEGENER.
Replies: 2
Views: 91

Re: IBM DFSort, ICETOOL, ICEMAN, ICEGENER.

Hello. They are all part of the same "product" collectively known as DFSort. ICEGENER is a drop-in replacement for IEBGENER that has some performance improvements. Any place you are currently using IEBGENER to simply copy a complete file you can plug ICEGENER in it's place. DFSORT is the m...
by zum13
Sat May 04, 2024 5:44 pm
Forum: Other Mainframe Topics, Off-Topics, FAQs.
Topic: -904, Error: Unsuccessful execution caused by an Unavailable resource
Replies: 3
Views: 384

Re: -904, Error: Unsuccessful execution caused by an Unavailable resource

In which case, you'll need the reason code to determine why the resource has been made unavailable. That will be the 8 digit hex code that starts 00C, 00D, 00E, or 00F. Once you know the why you can determine how to fix it. If it is something like the table needs recovery or repair, then it's possib...
by zum13
Sat May 04, 2024 5:37 pm
Forum: Other Mainframe Topics, Off-Topics, FAQs.
Topic: Question on uncatloged datasets
Replies: 1
Views: 70

Re: Question on uncatloged datasets

Hello. There isn't a way of listing the uncataloged datasets on the system because, well, they're uncatalogued. You need to know what volume the dataset you are looking for is on. Once you know that, you can use ISPF 3.4 to list the datasets on that specific volume. Use F10/F11 to cycle through the ...
by zum13
Sat May 04, 2024 5:28 pm
Forum: Interview Questions.
Topic: increase working storage Variable length in cobol
Replies: 5
Views: 291

Re: increase working storage Variable length in cobol

In an interview situation, there's no harm in asking the interviewer questions. If that was the extent of the question that they asked, then my response would be "it depends on what the variable is used for" and then ask what context the variable is being used in. Sometimes, the reason for...
by zum13
Wed May 01, 2024 6:08 pm
Forum: Interview Questions.
Topic: increase working storage Variable length in cobol
Replies: 5
Views: 291

Re: increase working storage Variable length in cobol

One of the common practices I've seen repeatedly is the situation where the record declaration in the FILE SECTION is essentially treated as a dummy that simply defines the record length. The declarations of the individual fields in the record are defined within WORKING STORAGE (usually as a copyboo...
by zum13
Sun Apr 28, 2024 4:48 am
Forum: Interview Questions.
Topic: increase working storage Variable length in cobol
Replies: 5
Views: 291

Re: increase working storage Variable length in cobol

Hello.

Well, I'm presuming that the variable they are talking about changing would affect the length of a record, so the LRECL of the file would have to be altered accordingly.
by zum13
Sun Apr 28, 2024 4:41 am
Forum: Other Mainframe Topics, Off-Topics, FAQs.
Topic: -904, Error: Unsuccessful execution caused by an Unavailable resource
Replies: 3
Views: 384

Re: -904, Error: Unsuccessful execution caused by an Unavailable resource

Hello. The -904 SQLCODE is documented here: https://www.ibm.com/docs/en/db2-for-zos/13?topic=esc-904 The "00000302" bit is a resource type, in this case for a page in the named table space. A list of the resource types can be found here: https://www.ibm.com/docs/en/db2-for-zos/13?topic=mes...
by zum13
Sat Apr 27, 2024 4:15 am
Forum: Interview Questions.
Topic: Mainframe Interview Questions (3-5 Years Experience)
Replies: 4
Views: 678

Re: Mainframe Interview Questions (3-5 Years Experience)

  I think we can not use GROUP BY and ORDER BY in the same cursor? Actually, you can. For example: SELECT CREATOR,COUNT(*) FROM   SYSIBM.SYSTABLES             GROUP  BY CREATOR                   ORDER  BY 2 DESC                   The GROUP BY clause will sort the data in order to perform an aggrega...
by zum13
Thu Apr 25, 2024 4:10 pm
Forum: IBM DB2 and IMS DB/DC
Topic: -911(SQL dead lock) abend
Replies: 3
Views: 749

Re: -911(SQL dead lock) abend

The SQLCA field descriptions are here: https://www.ibm.com/docs/en/db2-for-zos/13?topic=sqlca-description-fields The most useful (and most commonly used) thing in there is the SQLCODE. Over the years, I've found it's fairly rare to find an embedded SQL program which uses pretty much any of the other...
by zum13
Wed Apr 24, 2024 7:15 am
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: 927

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

Yes. COBOL does not handle character data in the same way as something like C where there is a string termination character (the null). If you do MOVE 'A' TO WA-FIELD-1 and WA-FIELD-1 is 40 characters, COBOL will move the 'A' followed by 39 spaces. You have to rely on other means to determine that t...
by zum13
Wed Apr 24, 2024 6:10 am
Forum: IBM DB2 and IMS DB/DC
Topic: -911(SQL dead lock) abend
Replies: 3
Views: 749

Re: -911(SQL dead lock) abend

Hello. The available information about any SQL errors you encounter should be within the SQLCA (the SQL Communication Area). The subject of error handling has come up before and my general recommendation would be to use the DB2's error handling module DSNTIAR to help with message reporting. There's ...
by zum13
Wed Apr 24, 2024 5:54 am
Forum: Interview Questions.
Topic: copy data from vsam to ps
Replies: 4
Views: 538

Re: copy data from vsam to ps

Hello. There are other utilities available that are designed for the handling of VSAM files which are attached to larger products intended to make the files more usable and accessible from ISPF. Compuware's FileAid is a good example of this. While better known for the ISPF interface, it does come wi...
by zum13
Fri Apr 19, 2024 5:03 am
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: 927

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

Hello. 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 of the...
by zum13
Fri Apr 19, 2024 4:46 am
Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
Topic: convert S9(5)V9(2) Comp 3 to alphanumeric
Replies: 2
Views: 550

Re: convert S9(5)V9(2) Comp 3 to alphanumeric

Hello. It's just a matter of moving your non-displayable value to a field that is displayable. So, for S9(5)V9(2), a field defined as -9(5).9(2) would give you a result which would be an minus sign (or blank if the number is positive) and your number with leading zeros. Changing the minus to a plus ...
by zum13
Thu Mar 28, 2024 12:44 pm
Forum: DevOps for Mainframes and related news
Topic: What is ZOWE?
Replies: 2
Views: 828

Re: What is ZOWE?

Hello. At it's most basic, ZOWE is an extension for VSCode that puts an IDE in front of the mainframe. Rather than logging on to TSO, you sign in via ZOWE through your PC and use its editor and features rather than those of ISPF. It'll let you work with datasets and job output from the MVS filesyste...
by zum13
Wed Mar 27, 2024 2:15 pm
Forum: JCL - Job Control Language.
Topic: get the current system date through JCL ?
Replies: 10
Views: 930

Re: get the current system date through JCL ?

Prior to version 2, JES2 could not be told to substitute symbols into in-stream data so if you did //SYSUT1    DD * &YYMMDD &HHMMSS then the string "&YYMMDD &HHMMSS" is what would appear in the SYSUT1 input. In order to get around this limitation for TCP/IP, a program calle...
by zum13
Sun Mar 24, 2024 2:54 am
Forum: JCL - Job Control Language.
Topic: get the current system date through JCL ?
Replies: 10
Views: 930

Re: get the current system date through JCL ?

The symbol converter isn't actually necessary. Since version 2, symbols can be put into in-stream data providing JES2 is told to resolve them via the "SYMBOLS" parameter. For example, the following will copy the date and time symbols to sysout: //STEP2   EXEC PGM=ICEGENER //SYSPRINT  DD SY...
by zum13
Fri Mar 22, 2024 10:19 pm
Forum: JCL - Job Control Language.
Topic: get the current system date through JCL ?
Replies: 10
Views: 930

Re: get the current system date through JCL ?

Hello. There are a number of system symbols that are available for use in JCL which are documented here: https://www.ibm.com/docs/en/zos/3.1.0?topic=symbols-dynamic-system The bulk of these symbols relate to dates and times. If you don't want the complete date/time formats provided, there are enough...
by zum13
Sat Feb 24, 2024 12:08 am
Forum: Ask for Job Guidance and referrals here.
Topic: roles and responsibilities for Console operations in Mainframes
Replies: 4
Views: 365

Re: roles and responsibilities for Console operations in Mainframes

Hello. In most of the places I've worked, the running of the mainframe is divided into two groups. The first is the administration side which is essentially the systems programmers. These folks are responsible for the configuration and software set up of the mainframe. If some new software is requir...
by zum13
Fri Feb 23, 2024 10:26 pm
Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
Topic: file status 35 in COBOL
Replies: 2
Views: 324

Re: file status 35 in COBOL

For a VSAM file, this error can occur if the file is empty. If that's the case, then you need to load a dummy record into the file. This can be done programatically or you can use the REPRO statement under IDCAMS to get the record in there.

Go to advanced search