Re: DFSort support for REXX E15?

2014-02-25 Thread Elardus Engelbrecht
Sri h Kolusu wrote: Martin, Thanks for clarifying what OP really wanted. I would also say thanks to Martin and also to you for providing this very interesting DFSORT solution. There is also another way to do this nice trick/stunt: Get a LISTC of datasets and place it in a dataset / member

Re: DFSort support for REXX E15?

2014-02-25 Thread Paul Gilmartin
On Tue, 25 Feb 2014 03:07:29 -0600, Elardus Engelbrecht wrote: Sri h Kolusu wrote: Martin, Thanks for clarifying what OP really wanted. I would also say thanks to Martin and also to you for providing this very interesting DFSORT solution. There is also another way to do this nice trick/stunt:

Re: DFSort support for REXX E15?

2014-02-25 Thread Sri h Kolusu
: 02/25/2014 07:34 AM Subject: Re: DFSort support for REXX E15? Sent by: IBM Mainframe Discussion List IBM-MAIN@listserv.ua.edu On Tue, 25 Feb 2014 03:07:29 -0600, Elardus Engelbrecht wrote: Sri h Kolusu wrote: Martin, Thanks for clarifying what OP really wanted. I would also say thanks

Re: DFSort support for REXX E15?

2014-02-25 Thread Elardus Engelbrecht
Paul Gilmartin wrote: I hope Binaymin Dissen can use your suggestion. Most of the suggestions don't address Binyamin's concern with the limit on concatenation size. Sheesh Paul! Thats a good catch! I wish I could steal your precious brain. ;-D Binaymin Dissen, I have reread all the posts for

Re: DFSort support for REXX E15?

2014-02-25 Thread Paul Gilmartin
On Tue, 25 Feb 2014 08:06:08 -0800, Sri h Kolusu wrote: Q . Most of the suggestions don't address Binyamin's concern with the limit on concatenation size. Paul, The Proposed solution by me indeed takes care of concatenation limits. I took the limit to be 254 datasets. The job I have shown will

Re: DFSort support for REXX E15?

2014-02-25 Thread Sri h Kolusu
AM: From: Paul Gilmartin paulgboul...@aim.com To: IBM-MAIN@listserv.ua.edu, Date: 02/25/2014 08:28 AM Subject: Re: DFSort support for REXX E15? Sent by: IBM Mainframe Discussion List IBM-MAIN@listserv.ua.edu On Tue, 25 Feb 2014 08:06:08 -0800, Sri h Kolusu wrote: Q . Most

Re: DFSort support for REXX E15?

2014-02-25 Thread Paul Gilmartin
On Tue, 25 Feb 2014 08:43:05 -0800, Sri h Kolusu wrote: ..., it is quite easy to generate another dynamic JCL to MERGE(Since the SORTING is already done) all these into a single dataset in the same job I have shown. Either way isn't it true for any utility about the concatenation limits unless

Re: DFSort support for REXX E15?

2014-02-25 Thread Clark Morris
On 25 Feb 2014 11:08:38 -0800, in bit.listserv.ibm-main you wrote: If REXX supports invoking the sort, that is the simpler way to go. While there were definite advantages to using compact E15 routines when we had 22K partitions in DOS or even 4 - 6 meg address spaces in MVS, with today's large

Re: DFSort support for REXX E15?

2014-02-24 Thread Binyamin Dissen
: Subject: DFSort support for REXX E15? : Sent by: IBM Mainframe Discussion List IBM-MAIN@listserv.ua.edu : : I want to run a sort for a series of files that fit a dsname pattern. : : The simple approach would be an E15 which runs thru the list of files, :and : rexx is simpler than assembler

Re: DFSort support for REXX E15?

2014-02-24 Thread Binyamin Dissen
01:19:10 AM: : : From: Binyamin Dissen bdis...@dissensoftware.com : To: IBM-MAIN@listserv.ua.edu, : Date: 02/23/2014 01:19 AM : Subject: DFSort support for REXX E15? : Sent by: IBM Mainframe Discussion List IBM-MAIN@listserv.ua.edu : : I want to run a sort for a series of files that fit a dsname

Re: DFSort support for REXX E15?

2014-02-24 Thread Paul Gilmartin
On Mon, 24 Feb 2014 07:35:10 +, Martin Packer wrote: I think the original question was about using REXX in an E15 exit (or equivalently an E35). This is something I've contemplated doing in the past but the required machinery is beyond me (or at least my patience). :-) I'm also not sure

Re: DFSort support for REXX E15?

2014-02-24 Thread Sri h Kolusu
To: IBM-MAIN@listserv.ua.edu, Date: 02/24/2014 01:59 AM Subject:Re: DFSort support for REXX E15? Sent by:IBM Mainframe Discussion List IBM-MAIN@listserv.ua.edu The issue is not how to invoke DFSORT thru rexx - LINKMVS works fine (though it is sad that DFSORT does not support

DFSort support for REXX E15?

2014-02-23 Thread Binyamin Dissen
I want to run a sort for a series of files that fit a dsname pattern. The simple approach would be an E15 which runs thru the list of files, and rexx is simpler than assembler. Seems like SYNCSORT has had that option for a while. -- Binyamin Dissen bdis...@dissensoftware.com

Re: DFSort support for REXX E15?

2014-02-23 Thread Paul Gilmartin
On Sun, 23 Feb 2014 11:19:10 +0200, Binyamin Dissen wrote: I want to run a sort for a series of files that fit a dsname pattern. The simple approach would be an E15 which runs thru the list of files, and rexx is simpler than assembler. Seems like SYNCSORT has had that option for a while.

Re: DFSort support for REXX E15?

2014-02-23 Thread R.S.
W dniu 2014-02-23 15:29, Paul Gilmartin pisze: On Sun, 23 Feb 2014 11:19:10 +0200, Binyamin Dissen wrote: I want to run a sort for a series of files that fit a dsname pattern. The simple approach would be an E15 which runs thru the list of files, and rexx is simpler than assembler. Seems

Re: DFSort support for REXX E15?

2014-02-23 Thread Scott Ford
R.S., What about a Rexx Assembler stub ? The assembler routine to interface to the sort and call Rexx to perform the desired functions. We use IRXJCL a lot and it can also be called in C … Regards, Scott Ford www.identityforge.com From: R.S. Sent: ‎Sunday‎, ‎February‎ ‎23‎, ‎2014

Re: DFSort support for REXX E15?

2014-02-23 Thread Scott Ford
R.S. Heres the C program making the call: #include stdio.h #include stdlib.h #include string.h typedef int (*funcPtr) (); funcPtr fetched; typedef struct IRXJCL_type { short int arg_length; char argument[21]; } IRXJCL_type; IRXJCL_type this_param; IRXJCL_type* param_ptr; int return_code;

Re: DFSort support for REXX E15?

2014-02-23 Thread Paul Gilmartin
On 2014-02-23, at 07:49, R.S. wrote: W dniu 2014-02-23 15:29, Paul Gilmartin pisze: On Sun, 23 Feb 2014 11:19:10 +0200, Binyamin Dissen wrote: I want to run a sort for a series of files that fit a dsname pattern. The simple approach would be an E15 which runs thru the list of files, and

Re: DFSort support for REXX E15?

2014-02-23 Thread Wayne Bickerdike
I did this in REXX a different way. In my case, I wanted to produce multiple SORTOUTS but the same could apply for multiple input files. I used a SYSINnn DD statement and a SYSPARMnn DD. DO I = 1 to files CALL SYSIN(I) CALL SYSPARMI(I) CALL SPOOL(I) CALL SYSPOOL(I) CALL ALLOCA(I) ADDRESS

Re: DFSort support for REXX E15?

2014-02-23 Thread Wayne Bickerdike
JCL: //S010 EXEC PGM=IKJEFT01 //SYSOUT DD SYSOUT=* //SYSPRINT DD SYSOUT=* //SYSTSPRT DD SYSOUT=* //SYSEXEC DD DISP=SHR,DSN=REXXLIB //SYSTSIN DD DISP=SHR,DSN=DSNTYPE(SORTVAL) //SYSIN1 DD DSN=DSNTYPE(SYSIN1),DISP=SHR //SYSIN2 DD DSN=DSNTYPE(SYSIN2),DISP=SHR //SYSIN3 DD DSN=DSNTYPE(SYSIN3),DISP=SHR

Re: DFSort support for REXX E15?

2014-02-23 Thread Sri h Kolusu
@listserv.ua.edu wrote on 02/23/2014 01:19:10 AM: From: Binyamin Dissen bdis...@dissensoftware.com To: IBM-MAIN@listserv.ua.edu, Date: 02/23/2014 01:19 AM Subject: DFSort support for REXX E15? Sent by: IBM Mainframe Discussion List IBM-MAIN@listserv.ua.edu I want to run a sort for a series of files

Re: DFSort support for REXX E15?

2014-02-23 Thread Ed Gould
Kolusu DFSORT Development IBM Corporation IBM Mainframe Discussion List IBM-MAIN@listserv.ua.edu wrote on 02/23/2014 01:19:10 AM: From: Binyamin Dissen bdis...@dissensoftware.com To: IBM-MAIN@listserv.ua.edu, Date: 02/23/2014 01:19 AM Subject: DFSort support for REXX E15? Sent by: IBM Mainframe

Re: DFSort support for REXX E15?

2014-02-23 Thread Martin Packer
/developerworks/mydeveloperworks/blogs/MartinPacker From: Sri h Kolusu skol...@us.ibm.com To: IBM-MAIN@listserv.ua.edu Date: 24/02/2014 03:19 Subject:Re: DFSort support for REXX E15? Sent by:IBM Mainframe Discussion List IBM-MAIN@listserv.ua.edu Hi, Here are a couple