开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

SORT LIBRARIES FOR MUSIC WANTED.


 

Hi everyone:

I'm working with PL/I under MUSIC/SP under HERCULES simulator.

I want to sort a file, by several keys, But MUSIC Documentation says, the standard IBM libraries , still used today,PLISRTX are not available under music and that one can use SORT,MNSORT or DSORT.

Thing is SORT is just one key sort subroutine , MNSORT, is an user interfase multiple key application and DSORT a multiple key subroutine, that can be called from FORTRAN, COBOL OR PL/I. But DSORT is missing in MUSIC.

I managed to write a rexx script to call MNSORT, send parameters, but this is not possible from within PLI(f), with no spawn capability.

I found thar PLISORTX and DSORT were part of the original MVS for IBM/360, but it is beyond my means to rebuild that libraries from source code.

Does anyone know if it's possible to get those losto sort libraries and install them in MUSIC ?

Regards


--

Carlos

Argentina


 

DSORT is a MUSIC sort routine, not MVS. Music ran either standalone or under VM, but never MVS.

Page 633 of the User Guide shows how to call it from PL/I.

Joe


On Sun, Sep 13, 2020 at 5:52 PM carlos feldman <carlfelster@...> wrote:

Hi everyone:

I'm working with PL/I under MUSIC/SP under HERCULES simulator.

I want to sort a file, by several keys, But MUSIC Documentation says, the standard IBM libraries , still used today,PLISRTX are not available under music and that one can use SORT,MNSORT or DSORT.

Thing is SORT is just one key sort subroutine , MNSORT, is an user interfase multiple key application and DSORT a multiple key subroutine, that can be called from FORTRAN, COBOL OR PL/I. But DSORT is missing in MUSIC.

I managed to write a rexx script to call MNSORT, send parameters, but this is not possible from within PLI(f), with no spawn capability.

I found thar PLISORTX and DSORT were part of the original MVS for IBM/360, but it is beyond my means to rebuild that libraries from source code.

Does anyone know if it's possible to get those losto sort libraries and install them in MUSIC ?

Regards


--

Carlos

Argentina


 

Carlos Feldman wrote:

Hi everyone:

I'm working with PL/I under MUSIC/SP under HERCULES simulator.

I want to sort a file, by several keys, But MUSIC Documentation says, the
standard IBM libraries , still used today,PLISRTX are not available under
music and that one can use SORT,MNSORT or DSORT.

Thing is SORT is just one key sort subroutine , MNSORT, is an user interfase
multiple key application and DSORT a multiple key subroutine, that can be
called from FORTRAN, COBOL OR PL/I. But DSORT is missing in MUSIC.

I managed to write a rexx script to call MNSORT, send parameters, but this
is not possible from within PLI(f), with no spawn capability.

I found thar PLISORTX and DSORT were part of the original MVS for IBM/360,
but it is beyond my means to rebuild that libraries from source code.

Does anyone know if it's possible to get those losto sort libraries and
install them in MUSIC ?
On 18 February 2011, Michael Short made this announcement on the
h390-music@... and musicspdemo@... mailing lists:


The program OS/360 Sort/Merge (360-SM-023) is now available for MUSIC. It
was built from source from
Jay Moseley's site with no source changes. The package is in the file
section of H390-MUSIC@... as OSSORT.ZIPX.

After downloading the Zip file and unzipping, read the file OSSORT.DOc for
installation and operation.

I've test most of the install instructions, but please let me know if there
are any errors. The same thing applies after
it has been loaded.


Michael Short
I haven't seen any postings from Michael in quite a long time and I don't
know if he is on this mailing list or if he is still active with MUSIC.

Around the time of his announcement, I downloaded OSSORT.ZIPX and tried to
get it working on the MUSIC/SP demo system. As far as I recall, I needed
some extra files that I didn't have and I think I managed to get it working
eventually with help from Michael.

I don't know if the package Michael made available is the same as SORT,
MNSORT or DSORT or different to all three. If the package Michael made
available would be useful to you, I can try to recreate the steps I took
with Michael's help to try to make it work on MUSIC.

Regards,
Peter Coghlan.


 

Joe Monk wrote:

DSORT is a MUSIC sort routine, not MVS. Music ran either standalone or
under VM, but never MVS.
MUSIC contains an execution time MVS simulator which allows some compilers and
certain other programs which were produced for MVS to run unmodified on MUSIC.

Regards,
Peter Coghlan.


 

I dont think thats the case here.

DSORT uses the GULP I/O routines (GULPDF, GULPRD, GULPWR).

Joe

On Sun, Sep 13, 2020 at 7:33 PM Peter Coghlan <groups@...> wrote:
Joe Monk wrote:
>
> DSORT is a MUSIC sort routine, not MVS. Music ran either standalone or
> under VM, but never MVS.
>

MUSIC contains an execution time MVS simulator which allows some compilers and
certain other programs which were produced for MVS to run unmodified on MUSIC.

Regards,
Peter Coghlan.




 

I agree that it looks like DSORT is a native MUSIC implementation.

I am confused by the second sentance "Music ran either standalone or
under VM, but never MVS." While probably true, this seems irrelevant.

Whether MUSIC is running standalone or under VM or MVS should not have
any bearing on whether DSORT originated on MUSIC or MVS. MUSIC can
run code that originated on MVS regardless of whether MUSIC is running
on "bare metal" or under a hypervisor.

Regards,
Peter Coghlan.

Joe Monk wrote:


I dont think thats the case here.

DSORT uses the GULP I/O routines (GULPDF, GULPRD, GULPWR).

Joe

On Sun, Sep 13, 2020 at 7:33 PM Peter Coghlan <groups@...>
wrote:

Joe Monk wrote:

DSORT is a MUSIC sort routine, not MVS. Music ran either standalone or
under VM, but never MVS.
MUSIC contains an execution time MVS simulator which allows some compilers
and
certain other programs which were produced for MVS to run unmodified on
MUSIC.

Regards,
Peter Coghlan.




 

"I am confused by the second sentance "Music ran either standalone or
under VM, but never MVS."? While probably true, this seems irrelevant."

When running under VM, my understanding is that there were some native VM services that were exposed to the end user.

Thats all.

Joe

On Mon, Sep 14, 2020 at 3:01 AM Peter Coghlan <groups@...> wrote:
I agree that it looks like DSORT is a native MUSIC implementation.

I am confused by the second sentance "Music ran either standalone or
under VM, but never MVS."? While probably true, this seems irrelevant.

Whether MUSIC is running standalone or under VM or MVS should not have
any bearing on whether DSORT originated on MUSIC or MVS.? MUSIC can
run code that originated on MVS regardless of whether MUSIC is running
on "bare metal" or under a hypervisor.

Regards,
Peter Coghlan.

Joe Monk wrote:
>
> I dont think thats the case here.
>
> DSORT uses the GULP I/O routines (GULPDF, GULPRD, GULPWR).
>
> Joe
>
> On Sun, Sep 13, 2020 at 7:33 PM Peter Coghlan <groups@...>
> wrote:
>
> > Joe Monk wrote:
> > >
> > > DSORT is a MUSIC sort routine, not MVS. Music ran either standalone or
> > > under VM, but never MVS.? ? ? ? ? ? ? ?
> > >
> >
> > MUSIC contains an execution time MVS simulator which allows some compilers
> > and
> > certain other programs which were produced for MVS to run unmodified on
> > MUSIC.
> >
> > Regards,
> > Peter Coghlan.
> >
> >
> >
> >
>




 

HI Peter !

?

Thanks for your fast answer. OSSSORT.ZIP? is in the file section of this group (files dated march 2011) , So I'll give it a try. It's not the same as DSORT, but a sort/merge from OS/360 port, but I Think it may do.

I was taking a look at Rick's OS360 CD and Jay's OS360 MVT CD and, there's SORT,SORT/MERGE and also PL/I link to SORT library? IEHESRTx, spurce codes. But I don't think they can be directrly compiled in Music/SP

?

May be also I can run the MVT image to see what happens.


--

Carlos

Argentina


 

Iteresting... There's a Music Version with OSSORT already installed

I'm using Rene Ferland's compilation, instead of last Dave Edward's Music 6.2 + Patches.

I moved to the musicx disk the installation and configuration files, and when I tryied to create $SMSG directory, I found it existed and was already installed with OSSORT.

I'll give it a try this evening ....?

--

Carlos

Argentina


 

1) AS $000 : MAKPUBXO OSORT , to make it a public executable.

2)

make this script.

Execute and get your file sorted:

a fragment of the output file:

--

Carlos

Argentina