|
View previous topic :: View next topic
|
| Author |
Message |
vamsi_krishna
New User
Joined: 26 Feb 2007 Posts: 2 Location: hyderabad
|
|
|
|
Hi,
While compile and link editing a batch program in panvalet I got SE37 abend.
How do we resolve this?
Thanks,
Vamsi |
|
| Back to top |
|
 |
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
SE37 Abend
Explanation: The error occurred when an output operation was requested. The data set was on a direct access or magnetic tape device. This system completion code is accompanied by message IEC032I. Refer to the explanation of message IEC032I for complete information about the task that was ended and for an explanation of the return code (rc in the message text) in register 15.
Application Programmer Response: Respond as indicated for message IEC032I.
Common Causes of SE37 Abend
Insufficient Storage Allocation: The program or job requires more storage space than what is available or allocated.
Storage Limit Exceeded: The program or job exceeds the maximum storage limits allowed by the system.
Inefficient Memory Usage: Inefficient memory management or excessive memory consumption within the program.
Data Set Size Limit: Attempting to process or manipulate a dataset that exceeds the size limit or available space.
Resolving SE37 Abend
To resolve the SE37 abend and prevent its recurrence, consider the following steps:
Increase Storage Allocation: Adjust the storage allocation parameters (such as REGION or SPACE) in the job or program to allocate more memory resources if needed.
Optimize Memory Usage: Review and optimize the program's memory usage, data structures, and algorithms to minimize memory consumption.
Avoid Large Data Sets: If processing large datasets, ensure that they are split into manageable chunks or processed in smaller batches to avoid exceeding memory limits.
Monitor System Resources: Monitor system resources, such as available memory and storage, to ensure they are sufficient for program execution.
Review Program Logic: Review the program logic and code for inefficiencies, memory leaks, or excessive memory usage patterns.
Test with Sample Data: Test the program with sample data sets to identify any potential space errors before running it with production data. |
|
| Back to top |
|
 |
Gautam512
Active User

Joined: 05 Oct 2005 Posts: 308 Location: Vizag / US
|
|
|
|
Hi Vamsi,
can u compress the load library dataset and try recompiling the program once again. |
|
| Back to top |
|
 |
cpuhawg
Active User

Joined: 14 Jun 2006 Posts: 331 Location: Jacksonville, FL
|
|
|
|
This solution works only if the SE37 occurred against a standard PDS dataset.
If you received an SE37 against a standard PDS dataset (not PDSE), the problem is probably related to having used up all your directory blocks. If you can delete several members and compress the dataset, you should be fine. If you can't delete any members, you will need to:
1). Redefine your PDS with a greater number of directory blocks.
2). Use TSO option 3.3 to copy all members from the OLD PDS to the NEW PDS.
3). Rename your OLD dataset to OLD and your NEW dataset to the original dataset name.
4). Recompile. |
|
| Back to top |
|
 |
vamsi_krishna
New User
Joined: 26 Feb 2007 Posts: 2 Location: hyderabad
|
|
|
|
Hi,
Thanks for the replies.
My problem is solved after compressing the data set.
Best Regards,
Vamsi. |
|
| Back to top |
|
 |
|
|