Author |
Message |
Topic: PL/1 Help. |
t-bonham@scc.net
Replies: 2
Views: 5021
|
Forum: Application Programming Posted: Fri Sep 20, 2019 3:23 pm Subject: PL/1 Help. |
I once spent a lot on time on a similar problem. Eventually I discovered it was just 133-character lines being wrapped around when displayed.
Increasing the Record length on the output file solved ... |
Topic: Dataset names -Best practices |
t-bonham@scc.net
Replies: 8
Views: 6148
|
Forum: Job Control Language(JCL) Posted: Fri Feb 01, 2019 12:44 pm Subject: Dataset names -Best practices |
In some situations the production file name is closer to 44 and it exceeds 44 if ID for each test regions has to be inserted in DSN.
So this requires a different test file name and overrides in JCLs ... |
Topic: SORT condition beyond 32752 |
t-bonham@scc.net
Replies: 3
Views: 1822
|
Forum: Utilities Posted: Tue May 01, 2018 3:44 pm Subject: SORT condition beyond 32752 |
Or just use the Compare program built into ISPF. That can be run in batch mode.
While Sort can do this, if the task is compares, it's probably easier to start with a utility designed for that ta ... |
Topic: COBOL Picture Clause Editing S0C7 |
t-bonham@scc.net
Replies: 9
Views: 4277
|
Forum: Application Programming Posted: Thu Apr 19, 2018 8:28 pm Subject: COBOL Picture Clause Editing S0C7 |
Thank you for the detailed explanation. It is very useful.
SantoshEven more useful in a system, is tight editing of input data, so you don't end up with crap like this in a packed numeric field! |
Topic: Pick Records matching the criteria using SORT |
t-bonham@scc.net
Replies: 24
Views: 5383
|
Forum: Utilities Posted: Tue Jul 04, 2017 3:58 pm Subject: Pick Records matching the criteria using SORT |
Kolusu -- won't that insert the '50' for every Vehicle interst income line?
OP wanted this only for certain cities within the file. I think the 3rd line of the file has the city name. |
Topic: Purge 60 Days of Old Data |
t-bonham@scc.net
Replies: 4
Views: 3968
|
Forum: Job Control Language(JCL) Posted: Wed Oct 26, 2016 3:13 pm Subject: Purge 60 Days of Old Data |
It seems to me that the simplest way to do this is the best, especially when you don't know who will be doing maintenance in the future.
And the simplest would be to just take that DELETE stateme ... |
Topic: Remove all entries except first |
t-bonham@scc.net
Replies: 4
Views: 2864
|
Forum: Utilities Posted: Thu Oct 06, 2016 2:50 pm Subject: Remove all entries except first |
My suggestion would be to copy that one record you want to a temporary file. delete the original file, then rename the 1-record temp file to the original name. |
Topic: Split HTML record using tags |
t-bonham@scc.net
Replies: 11
Views: 6650
|
Forum: Utilities Posted: Thu Sep 08, 2016 3:50 pm Subject: Split HTML record using tags |
I do this frequently with a single SPF Edit command:
Change "</TD>" "</TD>[cr][lf]"
(You will have to replace the [cd] and [lf] with the hex codes for ... |
Topic: DFSORT/ICETOOL to identify Parent for a child |
t-bonham@scc.net
Replies: 7
Views: 3796
|
Forum: Utilities Posted: Thu Jun 23, 2016 7:52 pm Subject: DFSORT/ICETOOL to identify Parent for a child |
Or a single SPF Edit command on the output file:
Change ", " " " ALL
done either online in a Edit session or a batch step in the job.
Such an edit of the output report sh ... |
Topic: Getting sequential files used DASD space through REXX |
t-bonham@scc.net
Replies: 3
Views: 4155
|
Forum: TSO and ISPF Posted: Fri Jun 17, 2016 5:21 pm Subject: Getting sequential files used DASD space through REXX |
Frankly, this is an absolutely silly task!
Given how incredibly cheap storage is nowadays, the time you spend on this it will probably cost the organization way more than the cost of the storage sp ... |
Topic: Removing end pipe from end of line |
t-bonham@scc.net
Replies: 4
Views: 3867
|
Forum: TSO and ISPF Posted: Sat Jul 04, 2015 5:04 pm Subject: Removing end pipe from end of line |
Not sure about Rexx, but in batch ISPF Edit, do this:
CHANGE "|' " "' " ALL |
Topic: Rewriting VB record in COBOL |
t-bonham@scc.net
Replies: 2
Views: 2637
|
Forum: Application Programming Posted: Sat Jun 27, 2015 9:22 pm Subject: Rewriting VB record in COBOL |
This kind of error is usually related to the OS detecting a problem with the length of the specific record being read. Like, for example, you are working with a data field in column 20, but you happe ... |
Topic: How to get Exact CPU time of a job |
t-bonham@scc.net
Replies: 3
Views: 3054
|
Forum: TSO and ISPF Posted: Sat Jun 27, 2015 9:13 pm Subject: How to get Exact CPU time of a job |
There is effectively NO relation between the clock start time & end time, and the CPU time used. Because the mainframe is shared, and is running many other jobs besides yours at the same time, pl ... |
Topic: Syncsort Omit Records and Convert PD Date to Readble Format |
t-bonham@scc.net
Replies: 7
Views: 4463
|
Forum: Utilities Posted: Fri May 08, 2015 6:02 pm Subject: Syncsort Omit Records and Convert PD Date to Readble Format |
Also, they are taking twice as much space as needed -- wasting half of it.
You can easily store a MMDDYY date in just 2 bytes -- 4 bits for month, 5 bits for day, and year in the remaining 7 bits. ... |
Topic: Syncsort Omit Records and Convert PD Date to Readble Format |
t-bonham@scc.net
Replies: 7
Views: 4463
|
Forum: Utilities Posted: Thu May 07, 2015 8:44 pm Subject: Syncsort Omit Records and Convert PD Date to Readble Format |
Wow!
It's only been 15 years or so, and some designers have forgotten about the problems of storing years as a 2-digit field. The ability of some humans to fail to learn from experience is unlim ... |
|