03-10-2020
animate was present with mf-cobol 3 also... and in MS-cobol 4 too
Thanks for reminding me...
10 More Discussions You Might Find Interesting
1. Gentoo
Hello guys,
I'm searching for a good COBOL compiler which runs on linux. In fact I have found one but I'm really lost with its installation!! I don't know how to install it and how it works. In fact I'm not so good in linux and I always have problems with installation, but this time it's... (1 Reply)
Discussion started by: HSN
1 Replies
2. Solaris
Hi,
I am working on a Mainframe to UNIX replatforming project.
we are facing problems with COBOL COMP-3 fields. We are using the Mainframe emulator software to download the data which has COMP-3 fields and using it as input to the same COBOL programs which were copied from Mainframe and did the... (1 Reply)
Discussion started by: Jayaprakash T
1 Replies
3. UNIX and Linux Applications
Does anyone use the following Cobol compiler:
RM/COBOL-85 Compiler - Version 5.15.00 for SCO Unix 386.
I am looking for a file that might be part of the distribution named "osmain.o"
Thanks. (0 Replies)
Discussion started by: jgt
0 Replies
4. Programming
I have some compile programme .crn now I want to run .crn programme on express cobol which allow only *.gnt programme any solution to run *.crn programme (0 Replies)
Discussion started by: bibi
0 Replies
5. Programming
can i run .crn programme in express cobol which support to .gnt programme .... Plz tell me solution (2 Replies)
Discussion started by: bibi
2 Replies
6. Shell Programming and Scripting
Is there a way you can return a value from a script that is called from a rm cobol program...
01 WS-COMD-LINE-PGM X(39) value sh ./getUserId.sh 12345"
01 WS-RETURN-SYS-CODE PIC 9(8).
CALL "SYSTEM" USING WS-COMD-LINE-PGM
GIVING WS-RETURN-SYS-CODE.
... (1 Reply)
Discussion started by: pavanmp
1 Replies
7. SCO
Dear All,
while installing mfcobol in sco open unix 5 in piv m/cs, when run
#sh ./install
this error massage is comming
load error file lmfnewdb
error code 198 pc=0 call=-1 seg=0
198 load failor
chmod warrning can not acess /opt/lib/mflmf/mflmfdb no such file or directory (error-2)... (0 Replies)
Discussion started by: sudhir69
0 Replies
8. UNIX for Dummies Questions & Answers
When running our UNIX job scripts we randomly get the following 198 error below. When we restart the job it works fine. I haven't been able to recreate the problem in test, so I'm wondering if it has something to do with Cron or possibly a memory error or memory leak. I don't see anything... (5 Replies)
Discussion started by: rthiele
5 Replies
9. Linux
Hello,
I have got a specific requirement of running a COBOL code on EL5. Not sure if GCC includes the compiler for COBOL.
Currently what I can think of installing openCOBOL in EL5 server and hand it over to developers.
From what I think need to do is, compile COBOL code using openCOBOL ... (5 Replies)
Discussion started by: niravkamdar
5 Replies
10. SCO
Hi all,
I am trying to virtualize a running SCO 5.0.6 system with microfocus cobol installed.
I have already managed (thanks to the people in this forum) to install the operating system.
I dont have the cobol installation media anymore. I have copied (using cpio) all directories from... (3 Replies)
Discussion started by: sopela123
3 Replies
LEARN ABOUT ULTRIX
csplit
csplit(1) General Commands Manual csplit(1)
Name
csplit - context split
Syntax
csplit [ -s ] [ -k ] [ -f prefix ] file arg1 [ ...argn ]
Description
The command reads file and separates it into n+1 sections, as defined by the arguments arg1...argn. By default, the sections are placed in
xx00...xxn (n may not be greater than 99). The named file is sectioned in the following way:
00: From the start of file up to (but not including) the line referenced by arg1.
01: From the line referenced by arg1 up to the line referenced by arg2.
.
.
.
n: From the line referenced by argn to the end of file.
If the file argument is a minus (-) then standard input is used. A minus is an ASCII octal 055.
Options
-s Suppresses the printing of all character counts. If the -s option is omitted, the command prints the character counts
for each file created.
-k Leaves previously created files intact. If the -k option is omitted, automatically removes created files if an error
occurs.
-fprefix Names the created files prefix00...prefixn. The default is xx00...xxn.
The arguments (arg1...argn) to can be a combination of the following:
/rexp/[offset] A file is created for the section from the current line up to (but not including) the line containing the regular
expression rexp. The current line becomes the line containing rexp. The optional offset is plus (+) or minus
(-) the number of lines. For example, /Page/-5.
%rexp%[offset] This argument is the same as /rexp/[offset], except that no file is created for the section.
lnno A file is created from the current line up to (but not including) lnno. The current line becomes lnno.
{num} Repeat argument. This argument may follow any of the above arguments. If it follows a rexp argument, that argu-
ment is applied num more times. If it follows lnno, the file will be split every lnno lines (num times) from
that point.
Enclose all rexp type arguments that contain blanks or other characters meaningful to the Shell in the appropriate quotes. Regular expres-
sions should not contain embedded new-lines. The command does not affect the original file; it is the user's responsibility to remove it.
Examples
csplit -f cobol file /procedure division/ /par5./ /par16./
This example creates four files, cobol00...cobol03. After editing the files that created, they can be recombined as follows:
cat cobol0[0-3] > file
Note that this example overwrites the original file.
csplit -k file 100 {99}
This example splits the file every 100 lines, up to 10,000 lines. The -k option causes the created files to be retained if there are less
than 10,000 lines; however, an error message would still be printed.
csplit -k prog.c '%main(%' '/^}/+1' {20}
Assuming that follows the normal C coding convention of ending routines with a right brace (}) at the beginning of the line, this example
creates a file containing each separate C routine (up to 21) in
Diagnostics
The diagnostics are self explanatory except for the following:
arg - out of range
This message means that the given argument did not reference a line between the current position and the end of the file.
See Also
ed(1), sh(1)
csplit(1)