10 More Discussions You Might Find Interesting
1. Programming
hi
could you please suggest me any cobol compiler for suse linux.
any help would me much appreciated ..
--
thanks
rakesh kumar (7 Replies)
Discussion started by: rakeshkumar
7 Replies
2. Red Hat
Hi
I dont have a cobol compiler in my redhhat linux box, and so I want to install it. When i try the below command
sudo apt-get install open-cobol
it tells "apt-get : command not found". I tried to find apt-get under my root, could not find it anywhere.
Should we install apt-get also?... (4 Replies)
Discussion started by: unx_freak
4 Replies
3. 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
4. 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
5. 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
6. 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
7. 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
8. 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
9. 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
10. UNIX for Dummies Questions & Answers
Hi ,
Could anyone please tell me about the whole procedure for compiling, linking the cobol program on unix platform. As i am mainframe guy and very new to unix, any help will be very appriciated,
Regards,
-Vinit (2 Replies)
Discussion started by: vinit_cyberguy
2 Replies
HTML::Mason::Lexer(3pm) User Contributed Perl Documentation HTML::Mason::Lexer(3pm)
NAME
HTML::Mason::Lexer - Generates events based on component source lexing
SYNOPSIS
my $lexer = HTML::Mason::Lexer->new;
$lexer->lex( comp_source => $source, name => $comp_name, compiler => $compiler );
DESCRIPTION
The Lexer works in tandem with the Compiler to turn Mason component source into something else, generally Perl code.
As the lexer finds component elements, like a tag or block, it calls the appropriate event methods in the compiler object it was given.
It has only a few public methods.
You can replace this lexer with one of your own simply by telling the Compiler to use a different lexer class. Your lexer class simply
needs to call the appropriate methods in the Component Class's API as it scans the source.
METHODS
The lexer has very few public methods.
new This method creates a new Lexer object. This methods takes no parameters.
lex ( comp_source => ..., name => ..., compiler => ... )
This method tells the lexer to start scanning the given component source. All of these parameters are required. The "name" parameter
will be used in any error messages generated during lexing. The "compiler" object must be an object that implements the Mason
Component API.
line_number
The current line number that the lexer has reached.
name
The name of the component currently being lexed.
throw_syntax_error ($error)
This throws an "HTML::Mason::Exception::Syntax" error with the given error message as well as additional information about the
component source.
This method is used by both the Lexer and the Compiler.
SUBCLASSING
Any subclass of the lexer should declare itself to be a subclass of "HTML::Mason::Lexer", even if it plans to override all of its public
methods.
If you want your subclass to work with the existing Compiler classes in Mason, you must implement the methods listed above. If you plan to
use a custom Compiler class that you're writing, you can do whatever you want.
We recommend that any parameters you add to Lexer be read-only, because the compiler object_id is only computed once on creation and would
not reflect any changes to Lexer parameters.
perl v5.14.2 2012-02-04 HTML::Mason::Lexer(3pm)