Hi
may be it is a silly question so forgive me ..
env: Windows 8 ,gnucobol 3.0-rc1 and 2.0.0
reading gnucobol "faq and how" it talks about gcsort
i try to run from cmd line gcsort but is not recognized as a pgm
looking in the sourceforge site i find ocsort ,but reading INSTALL
*Requirements
GNU C compiler (version ???, work with 4.3.2)
GNU Make (version ???, work with 3.81)
GNU Bison (version ???, work with 2.4.1)
GNU Flex (version ???, work with 2.5.35)
it seems related to a linux environment
does gcsort is built in with gnucobol ?
i'm little confused ,please clarify me ...
thanks in advance
Maurizio
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm studing gnucobol returning home from work sometimes i'm very tired ... looking at "FAQ & how to" and i see 2 examples about using the SORT instruction ...i will update this discussion only if i get problem understanding how it works...my apologyzes...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'd suggest to also grab the current COBOL draft for the upcoming standard to have a good semi-technical description and maybe some more details (or not, didn't check) about the verb..
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi ...thanks to all for the support,
in the mean time i implemented cobol SORT,i was able to sort datasets both directly and with
input/output procedures,and also to sort a table in memory,,,
i look at the GCSORT and it list as prereq other than gcc ,bison and win_flex...in the past i compiled pgm from source in linux env ,but i never try this operation in windows env....
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
may be it is a silly question so forgive me ..
env: Windows 8 ,gnucobol 3.0-rc1 and 2.0.0
reading gnucobol "faq and how" it talks about gcsort
i try to run from cmd line gcsort but is not recognized as a pgm
looking in the sourceforge site i find ocsort ,but reading INSTALL
*Requirements
GNU C compiler (version ???, work with 4.3.2)
GNU Make (version ???, work with 3.81)
GNU Bison (version ???, work with 2.4.1)
GNU Flex (version ???, work with 2.5.35)
it seems related to a linux environment
does gcsort is built in with gnucobol ?
i'm little confused ,please clarify me ...
thanks in advance
Maurizio
forgive me...it is late now....reading programmer guide i find now the SORT instruction...
I'm studing gnucobol returning home from work sometimes i'm very tired ... looking at "FAQ & how to" and i see 2 examples about using the SORT instruction ...i will update this discussion only if i get problem understanding how it works...my apologyzes...
It is the Cobol SORT verb but it is easy to use but make use of any books on COBOL to show you the details..
I'd suggest to also grab the current COBOL draft for the upcoming standard to have a good semi-technical description and maybe some more details (or not, didn't check) about the verb..
GCSort (formerly ocsort) is avaiable at https://sourceforge.net/p/open-cobol/contrib/HEAD/tree/trunk/tools/GCSORT/ - you'd have to compile and install it from source and only can use it afterwards.
It is an external tool that is similar to MFSORT or DFSORT, normally called from command line.
The COBOL
SORTstatement works fine and "is included in the compiler/runtime", called only from within a COBOL program.Hi ...thanks to all for the support,
in the mean time i implemented cobol SORT,i was able to sort datasets both directly and with
input/output procedures,and also to sort a table in memory,,,
i look at the GCSORT and it list as prereq other than gcc ,bison and win_flex...in the past i compiled pgm from source in linux env ,but i never try this operation in windows env....
@sf-mensch Why I am not able to find the GCSORT tool.It showing blank page.
https://sourceforge.net/p/open-cobol/contrib/HEAD/tree/trunk/tools/GCSORT/
Could you please help me on this?
https://sourceforge.net/p/gnucobol/contrib/HEAD/tree/trunk/tools/GCSORT/
Thank you @sf-mensch.
I will use gnucobol instead open-cobol .