You can subscribe to this list here.
1999 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(341) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2000 |
Jan
(42) |
Feb
(22) |
Mar
(59) |
Apr
(12) |
May
(15) |
Jun
(30) |
Jul
(25) |
Aug
(13) |
Sep
(98) |
Oct
(51) |
Nov
(95) |
Dec
(99) |
2001 |
Jan
(105) |
Feb
(175) |
Mar
(411) |
Apr
(310) |
May
(294) |
Jun
(213) |
Jul
(132) |
Aug
(82) |
Sep
(26) |
Oct
(121) |
Nov
(181) |
Dec
(96) |
2002 |
Jan
(52) |
Feb
(128) |
Mar
(141) |
Apr
(111) |
May
(149) |
Jun
(164) |
Jul
(33) |
Aug
(77) |
Sep
(62) |
Oct
(92) |
Nov
(14) |
Dec
(33) |
2003 |
Jan
(33) |
Feb
(58) |
Mar
(120) |
Apr
(180) |
May
(206) |
Jun
(110) |
Jul
(232) |
Aug
(207) |
Sep
(103) |
Oct
(122) |
Nov
(42) |
Dec
(68) |
2004 |
Jan
(83) |
Feb
(107) |
Mar
(90) |
Apr
(7) |
May
(42) |
Jun
(36) |
Jul
(11) |
Aug
(24) |
Sep
(67) |
Oct
(116) |
Nov
(96) |
Dec
(22) |
2005 |
Jan
(29) |
Feb
(6) |
Mar
(12) |
Apr
(31) |
May
(47) |
Jun
(12) |
Jul
(76) |
Aug
(69) |
Sep
(7) |
Oct
(21) |
Nov
(5) |
Dec
(4) |
2006 |
Jan
(5) |
Feb
(7) |
Mar
(7) |
Apr
(3) |
May
(4) |
Jun
(4) |
Jul
(8) |
Aug
(13) |
Sep
(7) |
Oct
(2) |
Nov
(6) |
Dec
(30) |
2007 |
Jan
(43) |
Feb
(7) |
Mar
(2) |
Apr
(4) |
May
(11) |
Jun
(1) |
Jul
|
Aug
|
Sep
(22) |
Oct
(18) |
Nov
(6) |
Dec
(31) |
2008 |
Jan
(1) |
Feb
(2) |
Mar
(3) |
Apr
|
May
|
Jun
(3) |
Jul
(1) |
Aug
(2) |
Sep
(2) |
Oct
(11) |
Nov
(8) |
Dec
|
2009 |
Jan
(6) |
Feb
(4) |
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
(3) |
Sep
|
Oct
(3) |
Nov
|
Dec
(8) |
2010 |
Jan
(15) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
(4) |
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
(12) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2012 |
Jan
(7) |
Feb
(3) |
Mar
|
Apr
|
May
|
Jun
(4) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2014 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Carlucio L. <car...@te...> - 2006-03-31 11:35:15
|
On Thu, 30 Mar 2006 20:50:31 -0800 (PST) "Dilsia A. Martinez" <di...@ya...> wrote: > > > Dear TinyCOBOL Users: > > I've rewritten the program hello world but now it > gives me the following error: > > C:\TinyCOBOL>htcobol hello.cob > hello.cob: 6: error: syntax error on or before '.' > hello.cob 6: error: unknown or wrong statement, > on or before '.' > > > My program is written as follows: > > IDENTIFICATION DIVISION. > PROGRAM-ID. HELLO. > DATA DIVISION. > PROCEDURE DIVISION. > DISPLAY 'HELLO WORLD'. > STOP RUN. apend one line before STOP RUN. I not use Windows, compiling Linux not error,ok: carlucio@carlinux1:~/estudo_cobol$ htcobol hello.cob carlucio@carlinux1:~/estudo_cobol$ ./hello HELLO WORLD carlucio@carlinux1:~/estudo_cobol$ htcobol -V TinyCOBOL - pre alpha 0.62.11 (linux-gnu 2005/11/08) (C) 1991, 1993, 1999-2005 Rildo Pragana et. al. carlucio@carlinux1:~/estudo_cobol$ bye Carlucio Lopes- Cobolito 62-8415-8939 62-526-8006 msn:car...@ho... Goiania - Goias - Brasil Entenda Pirataria => http://www.carlinux.v10.com.br Compilador Cobol Free http://tinycobol.org em Portugues Porque Cobol? ==> http://www.clubecobol.com.br/cc_porque_cobol_02.asp Projeto Debian Brasil http://cdd.debian-br.org Tinycobol/Debian Gnu-Linux/Postgresql/Tcl-Tk |
From: Dilsia A. M. <di...@ya...> - 2006-03-31 04:50:42
|
Dear TinyCOBOL Users: I've rewritten the program hello world but now it gives me the following error: C:\TinyCOBOL>htcobol hello.cob hello.cob: 6: error: syntax error on or before '.' hello.cob 6: error: unknown or wrong statement, on or before '.' My program is written as follows: IDENTIFICATION DIVISION. PROGRAM-ID. HELLO. DATA DIVISION. PROCEDURE DIVISION. DISPLAY 'HELLO WORLD'. STOP RUN. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Dilsia A. M. <di...@ya...> - 2006-03-31 03:43:37
|
Good evening: My name is Dilsia Martínez, student of Science in Computers at Interamerican University of Puerto Rico Ponce Campus, and I chose TinyCOBOL to do the classwork; but I'm confronting some problems. I've installed version 0.63 from TinyCOBOL web page and the needed packages. When I to run the Hello Program it says: C:\TinyCOBOL>htcobol hello.cob 'as.exe' , is not recognized as an internal or external command,operable program or batch file Do I need to install anythig else? My Specs: WinXP SP2 build 5.6 512 RAM 40 GB hd Packages Installed tinyCOBOL ver 0.63 mingw32 yacc 1.9.3 gcc 3.4.5 pdcurses All actual versions fron the TinyCOBOL page Thanks a lot, Dilsia Martínez Villalba, Puerto Rico e-mail:di...@ya... __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Glen C. <gl...@wi...> - 2006-03-23 06:38:13
|
At 03:59 PM Thursday 23/3/06, =?gb2312?q?=CE=B0=20=B9=F9?= wrote: >Hi, > >I'm testing the use of indexed file, and trying to >read record one by one by using READ NEXT. However the >record pointer does not seem to move. Can someone >please tell me if I have missed anything here? Please >see the attached sample code to illustrate this. > >Thanks >David > ><snip> the nearly OK code. G'day David, There are a couple of errors/typos in your code that "jump" at me..... OPEN INPUT randFile this is not an appropriate open-mode for your program - try I-O Actually the compiler should have caught this You have defined the RECORD KEY as PIC X(2) but in several places you move numeric data to it - also would have expected compiler errors. Check the syntax of your START statement --- IIRC, it should be summat like.... START your-file-name KEY IS { EQUAL TO | NOT LESS THAN } start-value INVALID KEY imperative-statement. That should clean up the worst of your compiler errors. HTH Glen |
From: <dav...@ya...> - 2006-03-23 04:59:53
|
Hi, I'm testing the use of indexed file, and trying to read record one by one by using READ NEXT. However the record pointer does not seem to move. Can someone please tell me if I have missed anything here? Please see the attached sample code to illustrate this. Thanks David --- IDENTIFICATION DIVISION. PROGRAM-ID. RandTest. ENVIRONMENT DIVISION. INPUT-OUTPUT SECTION. FILE-CONTROL. SELECT randFile ASSIGN TO "random.txt" ORGANIZATION IS INDEXED ACCESS IS DYNAMIC RECORD KEY IS keyId. DATA DIVISION. FILE SECTION. FD randFile. 01 rc-file. 05 keyId PIC X(2). 05 info PIC X(10). PROCEDURE DIVISION. OPEN INPUT randFile MOVE "40" TO keyId WRITE rc-file INVALID KEY DISPLAY 'Invalid: ' keyId NOT INVALID KEY DISPLAY '[' keyId '] ok' END-WRITE MOVE 10 TO keyId WRITE rc-file INVALID KEY DISPLAY 'Invalid: ' keyId NOT INVALID KEY DISPLAY '[' keyId '] ok' END-WRITE MOVE 30 TO keyId WRITE rc-file INVALID KEY DISPLAY 'Invalid: ' keyId NOT INVALID KEY DISPLAY '[' keyId '] ok' END-WRITE MOVE 10 TO keyId START randFile INVALID KEY DISPLAY 'failed' STOP RUN END-START READ randFile NEXT RECORD DISPLAY 'record 1=' rc-file. * record pointer is not moving to the next * record, any idea? READ randFile NEXT RECORD DISPLAY 'record 2=' rc-file. CLOSE randFile STOP RUN. ___________________________________________________________ 情人节,用雅虎邮箱送玫瑰! |
From: Claeys J.C. <jc_...@mu...> - 2006-03-16 10:41:45
|
Hi, =20 Sorry for my English............... =20 =20 I am beginning with use of PRO COBOL and TINY COBOL on Linux. =20 For TINYCOBOL only , all seams to be all wright. I can run many programs written earlier with IBM COBOL on aix machine. This programs are programs using only flat files in input/output modes. I use this command to compile : htcobol -F pgname.cob =20 Now , I try to use PRO COBOL with programs including sql statements. =20 First I use this command : procob pgname.pco =20 It works well and create two files pgname.lis and pgname.cob. =20 When I try to compile , I use two different ways but it works not very well. =20 1. htcobol -F pgname.cob =20 that gives this messages : testcob.o(.text+0xd25): In function `main': : undefined reference to `SQLADR'=20 =20 =20 testcob.o(.text+0xea1): In function `main': : undefined reference to `SQLBEX'=20 =20 =20 2. htcobol -F -C pgname.cob =20 that creates a file with name pgname without wrong messages. =20 When I try to execute pgname (typing pgname at command line) , I receive : =20 *** RT Error: dynamic library call "SQLADR" not found! *** RT Error: dynamic library call "SQLBEX" not found! =20 Is this probably a variable missing ??????? =20 Can anybody help me ??? =20 Many thanks in advance =20 =20 =20 |
From: Rildo P. <ri...@pr...> - 2006-02-24 16:05:32
|
Hi John, John R. Culleton wrote: >Consider the case where I write a program and want to share it with >other Linux users who do not have COBOL installed. Is it >possible to compile a program in standalone mode so that it does >not require a runtime file? If not, can the COBOL runtime file >just be included in a tarball and put in the same directory as >the executable program? > > > > Of course, you can. There are two ways of doing that. The first, by distributing the shared library htcobol.so (the runtime), the other way by linking with it statically. To generate a static linked program, you remove your htcobol.so and make sure you have the static library htcobol.a. So if the linker only find this other library, it will include it in your binaries (executable). best regards, Rildo -- ------------------------------------------------------------------ Rildo Pragana FPGA/uControllers * Linux * tcl/tk R.Joaquim Nabuco,92/1102 Derby http://www.pragana.net Recife, PE - Brazil 52011-000 +55-81-3223-5694 / 8837-6122 |
From: John R. C. <jo...@we...> - 2006-02-24 15:40:20
|
Consider the case where I write a program and want to share it with other Linux users who do not have COBOL installed. Is it possible to compile a program in standalone mode so that it does not require a runtime file? If not, can the COBOL runtime file just be included in a tarball and put in the same directory as the executable program? -- John Culleton |
From: COBUG: C. U. G. <co...@co...> - 2006-02-15 07:39:42
|
Hello, Have you ever thought about a COBOL user group being in your local area? Well, this call for COBOL user group leaders is an opportunity for you to participate in building a local COBOL community in your area. You can join other user group leaders in your local area to form a 3-5 person leadership committee that will help build a local COBOL user group. As a COBOL user group leader, you will benefit from the visibility, knowledge transfer, networking with experienced COBOL users in your local area, and vendor support. Your involvement will contribute to the advancement and promotion of the COBOL language. You have the opportunity to make a difference and join our effort to put in motion the development of local COBOL user groups. The COBOL User Groups (COBUG) <http://www.cobug.com/> has more than 600 registered members. We have formed an association with a number of vendors with a willingness to support local COBOL user groups. We have many vendors and members that have signed up to speak and give presentations at user group meetings. There are many members that have signed up as volunteers to support local user groups. COBUG has the resources to support building local COBOL user groups. So, GET INVOLVED today in building a local COBOL user group in your area! If you would like to participate in the leadership of a local COBOL user group, please contact COBUG at cob...@co... <http://us.f365.mail.yahoo.com/ym/Compose?To=cob...@co...&Subj=COBOL%20%20%20User%20Group%20%20Leader>. Sincerely, COBOL User Groups: COBUG http://www.cobug.com <http://www.cobug.com/> |
From: Rod S. <rod...@ya...> - 2006-02-13 15:51:15
|
Does anybody have a MySQL example for use with Tiny-cobol? __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Rildo P. <ri...@pr...> - 2006-02-11 01:00:26
|
Hi Magee, Magee Marion wrote: >I've just re-read my previous post. It does seem confusing now. The >school is running redhat linux x64 which I also have at home. *nix/Dos >line endings I have an understanding of. The cobol programs I write at >school do not output the <cr>'s, just traditional linux line ending ><lf>. Tiny cobol 0.63, which I compiled using -m32 with gcc, inserts ><cr>s into the output file each and every time I use WRITE print-rec >AFTER... If I use ORGANIZATION LINE SEQUENTIAL, they go away but then >the lines are not 79 characters long anymore(trailing spaces removed) I > know that if I ftp or sftp an output file back to my school account, >each <cr><lf> combination will be converted to an <lf>. I also have >received a nice text file with some 'sed' options. I am interested in >knowing if there is a way to turn these <cr>s off completely, is this >something built into tiny cobol that cannot be changed, or the >possibility that I have compiled the thing wrong. > >Marion C. Magee >Student/ECU >ma...@cs... >918-448-1133 >508-421-9681 > > >Marion C. Magee wrote: > > >>I have looked just about to the end of the internet and have not found >>any help for this problem: The cobol class I am taken at ECU uses Open >>Cobol which does not introduce a <CR> into any record writen to a file >>with 'WRITE print-rec' or 'WRITE print-rec AFTER...'. It just leaves a >>nice 0x10 each place a line break should be. I've tried different >>SELECT ... ORGANIZATION combinations with no luck...Question: Is there a >>way to turn this off in Tiny-Cobol? or do I have to manually hex my >>output files to remove the 0x13's ? Thanks much >> >> >> > > > TinyCobol reads both CR and CR-LF terminated lines, if you declare the file as line-sequential. As about the writing of those files... well, it just sticks to the most known standard for this kind of file, which is the dual character (CR-LF) version, even in *nix/linux. Anyway, there are a lot of programs which converts between those formats, even a text editor like "vim" does the job easily. best regards, Rildo -- ------------------------------------------------------------------ Rildo Pragana FPGA/uControllers * Linux * tcl/tk R.Joaquim Nabuco,92/1102 Derby http://www.pragana.net Recife, PE - Brazil 52011-000 +55-81-3223-5694 / 8837-6122 |
From: Magee M. <ma...@cs...> - 2006-02-10 15:14:09
|
I've just re-read my previous post. It does seem confusing now. The school is running redhat linux x64 which I also have at home. *nix/Dos line endings I have an understanding of. The cobol programs I write at school do not output the <cr>'s, just traditional linux line ending <lf>. Tiny cobol 0.63, which I compiled using -m32 with gcc, inserts <cr>s into the output file each and every time I use WRITE print-rec AFTER... If I use ORGANIZATION LINE SEQUENTIAL, they go away but then the lines are not 79 characters long anymore(trailing spaces removed) I know that if I ftp or sftp an output file back to my school account, each <cr><lf> combination will be converted to an <lf>. I also have received a nice text file with some 'sed' options. I am interested in knowing if there is a way to turn these <cr>s off completely, is this something built into tiny cobol that cannot be changed, or the possibility that I have compiled the thing wrong. Marion C. Magee Student/ECU ma...@cs... 918-448-1133 508-421-9681 Marion C. Magee wrote: > I have looked just about to the end of the internet and have not found > any help for this problem: The cobol class I am taken at ECU uses Open > Cobol which does not introduce a <CR> into any record writen to a file > with 'WRITE print-rec' or 'WRITE print-rec AFTER...'. It just leaves a > nice 0x10 each place a line break should be. I've tried different > SELECT ... ORGANIZATION combinations with no luck...Question: Is there a > way to turn this off in Tiny-Cobol? or do I have to manually hex my > output files to remove the 0x13's ? Thanks much > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Tin...@li... https://lists.sourceforge.net/lists/listinfo/tiny-cobol-users |
From: Marion C. M. <ma...@cs...> - 2006-02-09 23:57:35
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 I have looked just about to the end of the internet and have not found any help for this problem: The cobol class I am taken at ECU uses Open Cobol which does not introduce a <CR> into any record writen to a file with 'WRITE print-rec' or 'WRITE print-rec AFTER...'. It just leaves a nice 0x10 each place a line break should be. I've tried different SELECT ... ORGANIZATION combinations with no luck...Question: Is there a way to turn this off in Tiny-Cobol? or do I have to manually hex my output files to remove the 0x13's ? Thanks much - -- Marion C. Magee Student/ECU ma...@cs... 918-448-1133 508-421-9681 -----BEGIN PGP SIGNATURE----- iQEVAwUBQ+vW6hPh0H3s1W1hAQowJwf/aVyQzLCWS5FhCLN4MDRvgkYvZgGpXvGQ yikcXi0MFViIQ0maXBqRAQEABCdOYZJeLoqHYVNmLLqk7YAfEFXL/O9Yo50rNYCP GcVrfzk7OvaxllOsIvLmYLk44KOrEGIsFPL63cVL/CsDLWD/NyXpzGJfj49pKZmZ IxwSbsOrCkxzygNLBMlnJv2PbxwC/HoEbe/GuV2IN8cN0OTaRnXSzqs1b7IpmSzZ jYOho3R6mCrkmwEH/MjtUC8VLWCk0zIyvO9BNtCT2c8a2ufiSvnYlqkkV2Whvt41 7D8bzcdG8JAdpNFzK1e6RJhAuCeq7zSdbtMaUNIKHKQCEnC/bhcWyQ== =IeXQ -----END PGP SIGNATURE----- |
From: Carlucio L. <car...@te...> - 2006-01-26 15:04:14
|
On Wed, 25 Jan 2006 11:13:23 +0800 "Hopetoun Telecentre" <ho...@co...> wrote: > > I keep getting sybtax errors and conflicting types in scan.c and scan.l when I try to compile tinycobol. I am running the latest version of Debian Linux and I have downloaded and installed yacc-1.9.3 etc off the tinycobol web site. > ii btyacc 3.0-4 Backtracking parser generator based on byacc ii byacc 1.9.1-1.1 The Berkeley LALR parser generator rc flex 2.5.31-31 A fast lexical analyzer generator. ii flex-old 2.5.4a-6 The old version of the fast lexical analyzer ii gcc 3.3.5-3 The GNU C compiler ii gcc-3.3 3.3.5-13 The GNU C compiler ii gcc-3.3-base 3.3.5-13 The GNU Compiler Collection (base package) ii libgcc1 3.4.3-13 GCC support library -- Carlucio Lopes- Cobolito 62-8415-8939 62-526-8006 msn:car...@ho... Pirataria Entenda => http://www.carlinux.hpg.com.br Compilador Cobol Free http://tinycobol.org em Portugues Porque Cobol? ==> http://www.clubecobol.com.br/cc_porque_cobol_02.asp Projeto Debian Brasil http://cdd.debian-br.org Tinycobol/Debian Gnu-Linux/Postgresql/Tcl-Tk |
From: Hopetoun T. <ho...@co...> - 2006-01-25 03:13:17
|
HI I keep getting sybtax errors and conflicting types in scan.c and scan.l = when I try to compile tinycobol. I am running the latest version of = Debian Linux and I have downloaded and installed yacc-1.9.3 etc off the = tinycobol web site. tia. Kerry Hotker Hopetoun Telecentre |
From: vince c. <vb...@bt...> - 2006-01-07 17:21:57
|
Hi All; I've been trying to compile tiny and open cobols on my Mandriva 2005LE x86 based box with a lot of problems. On tiny: with ./configure I get errors regarding db4 being seen. I have downloaded and run configure, make, make install on db-4.4.16 which set up directory at /usr/local/Berkeleydb.4.4 but tiny configure produces this: ....... other lines cut ... Beginning DB library header search sequence checking for db_185.h... no checking for db.h... yes Beginning DB library test link sequence checking if db.h header belongs to version 1.x \(1.85-2\)... no configure: error: header db.h for library db version 1.x \(1.85-2\) not found... aborting On Opencobol (0.32) using ./configure --with-db4 I get: ... lines cut here ... checking for unistd.h... yes checking for dbopen... no checking gmp.h usability... yes checking gmp.h presence... yes checking for gmp.h... yes checking for __gmp_rand in -lgmp... yes checking ltdl.h usability... yes checking ltdl.h presence... yes checking for ltdl.h... yes checking for lt_dlopen in -lltdl... no configure: error: libltdl is required I have also installed (./config, make, make install etc) libtool v1.5.22, ncources 5.5 Can anyone help me get cobol in both guises setup and running? Thanks, Vince. ------------------------------------------------------- |
From: Rildo P. <ri...@pr...> - 2006-01-07 01:48:03
|
Hi, Hopetoun Telecentre wrote: > Hi > > I have downloaded TinyCobol and I can get it to Configure correctly > with using ./configure --with-yacc=yacc193. No errors at all. > However when I run make I get a heap of errors in scan.l in the > compiler directory and so the compiler htcobol doesn't get compiled. > > I have tried using both bison 1.875d, the version that is installed by > default with the latest debian, and also yacc1.9.3. > What am I missing? > btw I did read in the list about errors with gcc 3.3.x. Is this my > problem, I have gcc 3.3.5 installed and if it is how do I fix it? > > thanks in advance. > kerry > There is a modified version of yacc available on our web page which does compile it. The regular yacc doesn't handle the number of symbols our compiler requires. best regards, Rildo -- ------------------------------------------------------------------ Rildo Pragana FPGA/uControllers * Linux * tcl/tk R.Joaquim Nabuco,92/1102 Derby http://www.pragana.net Recife, PE - Brazil 52011-000 +55-81-3223-5694 / 8837-6122 |
From: Hopetoun T. <ho...@co...> - 2006-01-04 02:34:42
|
Hi I have downloaded TinyCobol and I can get it to Configure correctly with = using ./configure --with-yacc=3Dyacc193. No errors at all. However = when I run make I get a heap of errors in scan.l in the compiler = directory and so the compiler htcobol doesn't get compiled. I have tried using both bison 1.875d, the version that is installed by = default with the latest debian, and also yacc1.9.3. =20 What am I missing? btw I did read in the list about errors with gcc 3.3.x. Is this my = problem, I have gcc 3.3.5 installed and if it is how do I fix it? thanks in advance. kerry |
From: John R. C. <jo...@we...> - 2005-12-26 18:49:52
|
On Monday 26 December 2005 01:10 pm, Luiz Alberto Arroyo Goncalves wrote: > When I use DISPLAY AT with numeric variables ( PIC 9(02) ), leading zeros > are suppressed. Executing sample program above results in > > TIME =3D 9: 5 > > Is the correct display > > TIME =3D 09:05 > > ?? > > > Sample program > > > IDENTIFICATION DIVISION. > PROGRAM-ID. SWPROG. > AUTHOR. SW. > ENVIRONMENT DIVISION. > CONFIGURATION SECTION. > SPECIAL-NAMES. > DECIMAL-POINT IS COMMA. > DATA DIVISION. > FILE SECTION. > WORKING-STORAGE SECTION. > 01 W-HH-SYS PIC 9(02). > 01 W-MM-SYS PIC 9(02). > PROCEDURE DIVISION. > BEG-01 SECTION. > BEG-01-01. > MOVE 09 TO W-HH-SYS > MOVE 05 TO W-MM-SYS > DISPLAY "TIME =3D " AT 1013 > DISPLAY W-HH-SYS AT 1020 > DISPLAY ":" AT 1022 > DISPLAY W-MM-SYS AT 1023. > STOP RUN. > > Time for Dr. REDEFINES: =2D-------------------------------------------------- 01 TIME-RECORD. 05 W-HH-SYS PIC 9(2). 05 W-HH-XX REDEFINES W-HH-SYS PIC XX. 05 W-MM-SYS PIC 9(2). 05 W-MM-XX REDEFINES W-MM-SYS PIX XX. 01 TIME-DISPLAY. 05 W-HH-XX PIC XX. 05 FILLER PIC X VALUE ":". =20 05 W-MM-XX PIC XX. ... MOVE 9 TO W-HH-SYS. MOVE 5 TO W-MM-SYS. MOVE CORRESPONDING TIME-RECORD TO TIME-DISPLAY. DISPLAY TIME-DISPLAY AT 1020. STOP RUN =20 =2D--------------------------------------------- In a perfect world such manipulation would not be necessary. If you find that perfect world let me know.=20 John Culleton =20 =20 =20 > > > > --------------------------------- > Yahoo! doce lar. Fa=E7a do Yahoo! sua homepage. |
From: Luiz A. A. G. <lui...@ya...> - 2005-12-26 18:11:19
|
When I use DISPLAY AT with numeric variables ( PIC 9(02) ), leading zeros are suppressed. Executing sample program above results in TIME = 9: 5 Is the correct display TIME = 09:05 ?? Sample program IDENTIFICATION DIVISION. PROGRAM-ID. SWPROG. AUTHOR. SW. ENVIRONMENT DIVISION. CONFIGURATION SECTION. SPECIAL-NAMES. DECIMAL-POINT IS COMMA. DATA DIVISION. FILE SECTION. WORKING-STORAGE SECTION. 01 W-HH-SYS PIC 9(02). 01 W-MM-SYS PIC 9(02). PROCEDURE DIVISION. BEG-01 SECTION. BEG-01-01. MOVE 09 TO W-HH-SYS MOVE 05 TO W-MM-SYS DISPLAY "TIME = " AT 1013 DISPLAY W-HH-SYS AT 1020 DISPLAY ":" AT 1022 DISPLAY W-MM-SYS AT 1023. STOP RUN. --------------------------------- Yahoo! doce lar. Faça do Yahoo! sua homepage. |
From: John R. C. <jo...@we...> - 2005-12-03 22:46:47
|
On Saturday 03 December 2005 02:23 pm, Ing. Juan L. Mera wrote: > Good day, > > I need a GUI tool to only read and convert to txt file or XML cobol data. > It's possible? Would you suggested any script or you know any tool to do > this? > > Thanks for your help, > > Regards, > > Juan L. Mera COBOL data comes in many formats. The best approach is to write a little COBOL program to read in the data and put it out in a line sequential file perhaps with delimiters. That will be your text file. The GUI is an unnecessary complication. The program will run more easily from a command line. That is the natural environment for COBOL. Tell us more and we can perhaps help you more. In any case you need to have access to the COBOL file description to know the record layout. JOhn Culleton |
From: Ing. J. L. M. <ju...@gr...> - 2005-12-03 19:24:13
|
Good day, I need a GUI tool to only read and convert to txt file or XML cobol data. It's possible? Would you suggested any script or you know any tool to do = this? Thanks for your help, Regards, Juan L. Mera |
From: Chaim L. <cla...@dg...> - 2005-11-21 16:08:33
|
confirm 504008 |
From: Cooper, T. L <ter...@ed...> - 2005-11-17 21:07:08
|
Are there instructions anywhere that walk one through installing Tiny COBOL on UNIX as well as compiling a program after it is loaded? Thanks, Terry Cooper EDS Business Exchange Services (BES) * phone: (972) 604-7837 pager - 888-461-2331 Fax: (972) 604-6721 5400 Legacy Drive Mailstop: A1-3E-44 Plano, Texas 75024 USA mailto:ter...@ed... www.eds.com "...providing the tools and services to manage the flow of information and payments in the global digital economy...with the total trading community..." |
From: Fernando W. - I. S. I. Ltda. <fer...@in...> - 2005-11-07 22:05:59
|
Hi Russel The most easy way for install TinyCOBOL in Windows is using the = instalation available on the TinyCOBOL site=20 (http://prdownloads.sf.net/tiny-cobol/tinycobol-0.63-1.mingw.exe). This = instalation require the MinGW libs, available for download in = www.mingw.org. If you do that and need any help, please contact me. Or, if you like compile the TinyCOBOL sources in MinGW, follow = these steps: - Download from www.mingw.org and install this packages: = MinGW-4.1.0, MSYS-1.0.10, msysDTK-1.0.1 - Download from www.tinycobol.org the LibDB (db-1.85) and the TC = source code; - Download from gnuwin32.sourceforge.net and install the BISON = and FLEX binaries; - Run MSYS and, in the TC source code directory, run "sh = tconfig.mingw.sh" - After the configuration (tconfig.mingw.sh), run "make". This = instruction compile all codes; - For finish, do "make install". The TinyCOBOL binaries will be = installed on C:\TinyCOBOL. Now you can use TC in Windows prompt = command... Close the MSYS program. Before compile any COBOL program you need run the TCOBOL.BAT (I = send it in PVT for you). This file set a lot of environment variables, = necessaries for run TC without problems. After do that, TC be already to = use! If you found any problem during the make process, please send me = the messages for I can help you for correct that. OK? If you need more anything, e-mail me!!! = Fernando Wuthstrack = InfoCont Sistemas Integrados Ltda. = Diretor = Fone: (47) 422-3536 =20 ----- Original Message -----=20 From: Russel Crowe=20 To: Tin...@li...=20 Sent: Monday, November 07, 2005 7:01 PM Subject: [Tiny-cobol-users] I need help to install and run - In = Windows Hello I'm an old Cobol programmer. I'm interesting begin with TinyCobol, in Windows environment, but it's = difficult for me understand how to install, configure, compile and run = with Mingw. (I've just read the documentation). Please, can you tell me, in a simply way: 1) what packages i need to download 2) how to install 3) how to configure 4) how to compile 5) how to run Thanks a lot.- -------------------------------------------------------------------------= ----- 1GB gratis, Antivirus y Antispam Correo Yahoo!, el mejor correo web del mundo Abr=ED tu cuenta aqu=ED |