Page 1 of 1

how to de concatenate the records from one ps to multiple ps

PostPosted: Fri Jan 07, 2011 12:23 am
by mylavarapuvinay
1)how to de-concatenate the records from one ps to multiple ps's using iebgeneral and is there any other way

Re: how to de concatenate the records from one ps to multiple ps

PostPosted: Fri Jan 07, 2011 12:30 am
by Robert Sample
Terminology is critical in IT, where similar terms may mean very different things. On an IBM mainframe, there is no such program as "iebgeneral" since program names for utilities are limited to 8 characters to comply with old operating system limits. There is an IEBGENER program, however.

"Concatenate" is a very specific term on an IBM mainframe, referring to the situation of having one DD name pointing to multiple data sets. You would "de-concatenate" this by using a unique DD name for each data set. If this is not what you want, you'll need to do a better job of explaining just what you are trying to do before we could help you. If you are wanting to split records in a single file into multiple files, this can be done by IEBGENER, IDCAMS, application programs, SORT, and possibly other tools depending upon what is available at your site.

Re: how to de concatenate the records from one ps to multiple ps

PostPosted: Fri Jan 07, 2011 12:31 am
by NicC
do you want to concatenate or 'deconcatenate' - there is probably no such word as 'deconcatenate'. What do you mean by 'deconcatenate'
I suspect you have not read the forum rules - I suggest you do so before your next post - note particularly the rule about 'new question = new topic'

Re: how to de concatenate the records from one ps to multiple ps

PostPosted: Fri Jan 07, 2011 12:32 am
by NicC
Sorry - I may have jumped the gun here or someone has split this out from the other topic - oops and sorry again :oops:

Re: how to de concatenate the records from one ps to multiple ps

PostPosted: Fri Jan 07, 2011 12:34 am
by NicC
If you want to remove a dataset from the middle of a concatenation then you need to dummy it - but read the warning in the manual (actually it is in another post today so you will not have to dirty your hands reading the manuals - today anyway)

Re: how to de concatenate the records from one ps to multiple ps

PostPosted: Fri Jan 07, 2011 12:39 am
by enrico-sorichetti
today is not psychic day, but I' ll give it a try!

maybe the question is

given a PS dataset what are the tools that can be used to split it in multiple parts!

reply...
search the forms for "dfsort how to split a file/dataset in multiple files/datasets/parts/"

Re: how to de concatenate the records from one ps to multiple ps

PostPosted: Fri Jan 07, 2011 12:43 am
by NicC
Whatever - it is NOT a COBOL question but, using my interpretation and one of Robert's, it is a JCL question but, using Enrico's interpretation or Robert's second offering, it is a Utility question.

Re: how to de concatenate the records from one ps to multiple ps

PostPosted: Fri Jan 07, 2011 4:03 am
by dick scherrer
Hello,

Suggest you post a small amount of sample data and the output(s) you want when this sample is processed.

Mention the recfm and lrecl of the files and the "rules" for getting from the input to the output(s).