Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
Posted: Fri Feb 22, 2008 5:44 am Post subject:
How will you be creating these? ICEGENER, IDCAMS, SORT, SYNCSORT, something else? What is your input? If you are doing a 1-to-1 copy then ICEGENER is the way to go - just create a JCL with as many steps as required. If you are creating many copies of one dataset the the COPY function of ICETOOL is what you want. If you are editing the input dataset o create a different output dataset the eithe ICEGENER or DFSORT.
But...basically, you have given so little information that it is impossible to say. We are not mind readers. _________________ Utility and Program control cards are NOT, repeat NOT, JCL.
Joined: 01 Mar 2007 Posts: 475 Topics: 9 Location: Welsh Wales
Posted: Sat Feb 23, 2008 5:45 am Post subject:
IEFBR14, REXX using the TSO ALLOCATE command ? _________________ If it's true that we are here to help others,
then what exactly are the others here for ?
Joined: 11 Feb 2008 Posts: 2 Topics: 1 Location: India(Chennai)
Posted: Sat Feb 23, 2008 7:22 am Post subject:
hi,
for example if i want to create below three datasets with there parameters in one jcl using any tool(IEBGENER, ICETOOL, etc) or from rexx. but in single JCL.
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
Posted: Sat Feb 23, 2008 8:27 am Post subject:
as expat said, just use Rexx to use TSO's ALLOCate statement. Examples abound on the web and in manuals. Usually for bulk allocations like this, you'd either read a list of data sets and attributes from a file and allocate accordingly, or you could allocate data sets like other data sets (LIKE parm on the ALLOC command) but there are as many ways to do it as there are reasons to do it.
If you want to do it through JCL because the attributes are mostly the same, just use unique ddnames on any program. Most people use IEFBR14 since that program does absolutely nothing. It is the JCL interpreter that does the allocation, not the program!! (In fact, you can even specify a program that does not exist - you'll get an abend S806, but the data sets will be allocated ) _________________ New members are encouraged to read the How To Ask Questions The Smart Way FAQ at http://www.catb.org/~esr/faqs/smart-questions.html.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum