Forum Index
A Community of and for MVS Professionals
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 19 matches Forum Index
Author Message
  Topic: PL/1 Help.

Replies: 2
Views: 4701

PostForum: 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

Replies: 8
Views: 4610

PostForum: 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

Replies: 3
Views: 1620

PostForum: 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

Replies: 9
Views: 3882

PostForum: 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

Replies: 24
Views: 4507

PostForum: 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

Replies: 4
Views: 3710

PostForum: 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

Replies: 4
Views: 2611

PostForum: 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

Replies: 11
Views: 6144

PostForum: 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

Replies: 7
Views: 3478

PostForum: 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

Replies: 3
Views: 3792

PostForum: 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

Replies: 4
Views: 3585

PostForum: 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

Replies: 2
Views: 2451

PostForum: 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

Replies: 3
Views: 2855

PostForum: 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

Replies: 7
Views: 4121

PostForum: 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

Replies: 7
Views: 4121

PostForum: Utilities   Posted: Thu May 07, 2015 8:44 pm   Subject: Syncsort Omit Records and Convert PD Date to Readble Format

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 ...
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 5 Hours
Jump to:  

Powered by phpBB © 2001, 2005 phpBB Group