Mainframes 360
The one stop destination for System Z professionals

Wednesday, April 1, 2009

NOT CATLGD 2 JCL Error – How to avoid it?


When attempting to run the above Batch JOB/JCL, NOT CATLGD 2 JCL error occurs for the ddname OUTFILE. What is a NOT CATLGD 2 JCL Error? How to eliminate NOT CATLGD 2 JCL Error for a particular dataset?

The NOT CATLGD 2 JCL Error mostly occurs, when the dataset in question already exists. Here, OUTFILE is trying to create a new dataset OUTFILE.TEST.DATA. So, probably this dataset already pre-exists and is cataloged. To ensure such errors don’t occurs, we must purge/delete datasets using IEFBR14.

To many people who are thrown to work at a mainframe computer on their first job, they feel lost. Mainframe people seem to speak a completely different language and that doesn't make life easy. What's more, the books and manuals are incredibly hard to comprehend.

"What on earth is a Mainframe?" is an absolute beginner's guide to mainframe computers. We'll introduce you to the hardware and peripherals. We'll talk about the operating system, the software installed on a mainframe. We'll also talk about the different people who work on a mainframe. In a nutshell, we'll de-mystify the mainframe.

Readers based in India, can buy the e-book for Rs. 50 only or the print book. International readers based in the US and other countries can click here to purchase the e-book.