number of libraries can be coded in a Step or JOB

JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

number of libraries can be coded in a Step or JOB

Postby tjegan » Sat May 31, 2014 2:31 pm

Hi All,

Can anyone please let me know how many libraries can be coded in a step/JOB ?
Posts: 33
Joined: Mon Mar 25, 2013 5:58 pm
Has thanked: 0 time
Been thanked: 0 time

Re: number of libraries can be coded in a Step or JOB

Postby steve-myers » Sat May 31, 2014 3:55 pm

The first problem with the query is the term "libraries." This is usually taken to mean "partitioned data sets." There are many other types of data sets that can be mixed with "libraries."

You use DD statements to specify a "library" data set or any other sort of data set to a job step.

The proper way to make this query is to ask, "How many DD statements can I specify for a job step?"

Unfortunately, there is no hard answer to this query, as it depends on the maximum size of a data area in the operating system called a TIOT, and this is set by system administrators when the system is set up. Another complexity is the space required for a DD statement in the TIOT is not fixed.

However, in most systems, you can define approximately 1500 DD statements for one job step. In a few systems it may be lower, and in some systems it may be as high as approximately 3000.

There is a hard limit on the maximum number of job steps in one job: 255.
Global moderator
Posts: 2106
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: number of libraries can be coded in a Step or JOB

Postby Robert Sample » Sun Jun 01, 2014 3:10 am

Terminology is critical in IT, where similar terms may mean very different things. Your question is NOT clear on what you are referring to as "libraries" -- load libraries only? source libraries? all data sets? places a program could be loaded from? Each of these would have different answers.

In other words, as you have stated your question it cannot be definitively answered. People can guess and answer that guess, but someone else could guess differently and answer a different way.
Robert Sample
Global moderator
Posts: 3716
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 278 times

Return to JCL


  • Related topics
    Last post