Author |
Message |
Topic: Compilation error using SPECIFIC cursor name |
Robert Sample
Replies: 7
Views: 3659
|
Forum: Application Programming Posted: Tue Apr 18, 2023 9:38 am Subject: Compilation error using SPECIFIC cursor name |
6E0 could be getting treated as an exponent number while 6F0 would not be. |
Topic: Null indicators in Cobol |
Robert Sample
Replies: 2
Views: 1969
|
Forum: Application Programming Posted: Thu Feb 02, 2023 10:06 am Subject: Null indicators in Cobol |
COMP-5 is the same as COMP, except when the value exceeds the picture size. The compiler option TRUNC(BIN) will cause COMP to work the same as COMP-5. |
Topic: FTP issue |
Robert Sample
Replies: 3
Views: 4540
|
Forum: Job Control Language(JCL) Posted: Fri Sep 11, 2020 10:55 am Subject: FTP issue |
The ^M is X'0D' (or 13 in decimal which is a carriage return -- CR -- in the ASCII collating sequence) and was achieved by sending your data set to the Unix machine with SBSENDEOL=CRLF option of FTP o ... |
Topic: QW for MVS/QuickRef is not working in my shop |
Robert Sample
Replies: 2
Views: 3473
|
Forum: TSO and ISPF Posted: Thu Sep 10, 2020 8:13 am Subject: QW for MVS/QuickRef is not working in my shop |
I thought MVS/QuickRef is default in IBM Mainframe.Actually, no it is not. it is a vendor product and as such must be purchased from the vendor and installed at the site. Relatively few sites I have ... |
Topic: CHECKSUM for a file. |
Robert Sample
Replies: 2
Views: 4019
|
Forum: Utilities Posted: Tue Aug 04, 2020 9:21 am Subject: CHECKSUM for a file. |
If you're looking at a text file (or data set), you should be aware that the mainframe uses EBCDIC, which is a different collating sequence than ASCII and hence you CANNOT compare a checksum from a ma ... |
Topic: RDW content |
Robert Sample
Replies: 2
Views: 2151
|
Forum: Application Programming Posted: Wed Mar 25, 2020 7:57 am Subject: RDW content |
You don't need access to a mainframe to find this information. From https://www.ibm.com/support/knowledgecenter/zosbasics/com.ibm.zos.zconcepts/zconcepts_159.htm there is (emphasis added by me):V (Va ... |
Topic: Dynamically pass Cobol variable |
Robert Sample
Replies: 3
Views: 2573
|
Forum: Application Programming Posted: Tue Mar 24, 2020 3:26 pm Subject: Dynamically pass Cobol variable |
Generally, yes although what you want to do can get tricky. Probably the easiest way is to create a table to convert field names into starting position, length, and data type (unless zoned decimal is ... |
Topic: How to get Line of code for each application |
Robert Sample
Replies: 10
Views: 4399
|
Forum: Utilities Posted: Fri Feb 28, 2020 4:49 pm Subject: How to get Line of code for each application |
Software metrics are notoriously difficult to implement (correctly or incorrectly). As you've discovered, even something as "simple" as lines of code (LOC) isn't really that simple. If you ... |
Topic: SORT to identify last business day of the month |
Robert Sample
Replies: 27
Views: 9002
|
Forum: Utilities Posted: Wed Feb 12, 2020 5:47 pm Subject: SORT to identify last business day of the month |
If you download the Smart DFSORT Tricks paper from https://www.ibm.com/support/pages/smart-dfsort-tricks you can find code to provide the weekday for a date; you can also find out how to subtract days ... |
Topic: Does the Path actually contain data |
Robert Sample
Replies: 6
Views: 7766
|
Forum: Data Management Posted: Tue Feb 11, 2020 10:35 am Subject: Does the Path actually contain data |
So when I browse the path, I'm seeing a view of the base cluster that has been resorted on the fly to reflect the AIX?No, not at all. For each AIX, the record consists of some overhead bytes followed ... |
Topic: Does the Path actually contain data |
Robert Sample
Replies: 6
Views: 7766
|
Forum: Data Management Posted: Mon Feb 10, 2020 6:00 pm Subject: Does the Path actually contain data |
does the dataset that represents the PATH now contain all the data that's in the base cluster but in the order of the AIX? This is the first misconception -- the PATH is a CATALOG entry and does not r ... |
Topic: How to send email with dataset as a text file. |
Robert Sample
Replies: 11
Views: 7706
|
Forum: Job Control Language(JCL) Posted: Wed Jul 17, 2019 10:23 am Subject: How to send email with dataset as a text file. |
My requirement is to send the file in excell format. Is it possible.That depends upon what you mean by "excell" (sic) format -- a comma-delimited sequential file can be converted in Excel qu ... |
|