View previous topic :: View next topic |
Author |
Message |
vivek1983 Intermediate

Joined: 20 Apr 2006 Posts: 222 Topics: 24
|
Posted: Fri Oct 12, 2007 7:18 am Post subject: Can we give PDS name in sortin? |
|
|
Hi all,
Can we give a PDS name without specifying the members as input in SORTIN statement?
Following is illustration of my requirement:
Input PDS : AAA.PDS1
members:
1. mem1
2. mem2
.....
15. mem15
Can we concatenate the contents of all the members in a single flat file using sort?
I tried the below JCL:
Code: |
//TEST01 EXEC PGM=SORT
//*
//SORTIN DD DSN=AAA.PDS1,DISP=SHR
//SORTOUT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSIN DD *
SORT FIELDS=COPY
/*
|
But it failed and issued the following error message:
Code: |
WER108I SORTIN : RECFM=FB ; LRECL= 80; BLKSIZE= 27920
WER180A SORTIN MEMBER NOT SPECIFIED
WER211B SYNCSMF CALLED BY SYNCSORT; RC=0000
WER449I SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE
|
Is there any way out that I can concatenate the contents of all the members in the PDS without specifying the members in the JCL?
Thanks much. _________________ Vivek G
--------------------------------------
A dream is just a dream. A goal is a dream with a plan and a deadline. (Harvey Mackay) |
|
Back to top |
|
 |
vivek1983 Intermediate

Joined: 20 Apr 2006 Posts: 222 Topics: 24
|
Posted: Fri Oct 12, 2007 7:27 am Post subject: |
|
|
Hi all,
Disregard my previous topic.
I changed my search criteria to "concatenate pds" and it fetched me the following link with a fileaid solution:
http://www.mvsforums.com/helpboards/viewtopic.php?t=2289&highlight=concatenate+pds
Just curious.. Any possiblity to do the same thing in SORT? _________________ Vivek G
--------------------------------------
A dream is just a dream. A goal is a dream with a plan and a deadline. (Harvey Mackay) |
|
Back to top |
|
 |
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Fri Oct 12, 2007 1:51 pm Post subject: |
|
|
dfsort does not read a pds/pdse directory - yet..
you can also use iebptpch. in the utillities forum, frank created a sticky with links to utility manuals. check out the one with ieb... ieh.... as a title. _________________ Dick Brenholtz
American living in Varel, Germany |
|
Back to top |
|
 |
Frank Yaeger Sort Forum Moderator

Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
|
Posted: Fri Oct 12, 2007 2:59 pm Post subject: |
|
|
Quote: | dfsort does not read a pds/pdse directory - yet.. |
The OP is using Syncsort, so I didn't respond. But since you brought DFSORT into it ...
Using SORTIN for the entire pds will not work. However, specifying each pds(member) in a concatenated SORTIN will work:
Code: |
//SORTIN DD DSN=AAA.PDS1(MEM1),DISP=SHR
// DD DSN=AAA.PDS1(MEM2),DISP=SHR
...
|
_________________ Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort |
|
Back to top |
|
 |
|
|