For Programmers: Free Programming Magazines  


Home > Archive > Cobol > June 2004 > Re: Sort on BS2000 and OS390 /Sort-Control









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Sort on BS2000 and OS390 /Sort-Control
Karl Kiesel

2004-06-25, 6:50 pm

j?rg brehe schrieb:
>
> I try to code a routine in cobol on IBM and BS2000 systems. I will
> write some options into a dataset which controls my sort. I give the
> average length of my records and the filesize. I use the sort-control
> register, and give a ddname of my temporary dataset, which i have
> allocate dynamical. I see this works by IBM/OS390 systems. I have
> found dfsort don't care about the SORT-MODE-SIZE. I get the message,
> dfsort will have better performance, if i give the average length. so
> I try it with my dataset options "averagelength" and it works.
>
> However I see no register for the bs2000 system. It seems there is no
> sort-control. Can I work on BS2000 with the "SORT-MODE-SIZE" and
> "SORT-FILE-SIZE" and it's works? I can't test this on our system.
>

With both COBOL Compilers on BS2000 (COBOL85 rsp COBOL2000) a
sort-control register is not supported; possible special options for
sorting are supported by language means (sliding window for 2 digit
century date rsp special code sets); both Compilers support
SORT-MODE-SIZE and SORT-FILE-SIZE for improving sorting efficiency.

Karl Kiesel
Fujitsu Siemens Computer. Münchens
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com