This may wind up being a long a question but let me try :-)
1) Our shop currently has a mixed architecture 32-bit and 64-bit.
2) We use perl quite a bit. Because of the mixed architecture we have two perl installations (32-bit and 64-bit).
3) Currently all of perl scripts are shebanged with an...
Hi,
I inherited a C program that connects to db2. We know we have to recompile the program with a 64 bit C-Compiler. For this I used gcc that our unix admins put on our box a while ago. I can get it the bind to work and the recompile works ( a few warnings but they are nothing new).
However...
I do use bin. But it seems that the mainframe still receives the file with all records being the same length. Even though querying the "properties" of the mainframe file - it says RECFM=VB (variable/blocked).
Part of me understands what is going on here, but I want to make sure I am not missing...
I have file.a on the mainframe, it is Variable Length (recfm=vb). I use FTP (binary) to get the file and put it on the unix system - call this file file.b
Then to test my theory out I ftp file.b BACK to the the mainframe system using among other things: site recfm=vb.
However, file.a (the...
Mike,
Thanks very much for the information. From what I can tell this will work for what I need it for but can't be positive until I get our Unix admin to install that module. If this works they way it should, it will save me a LOT of headaches. I really want use perl for the utility I am...
Hi,
What I would like to do is have a perl program: Perl_A
and have Perl_A call another program (potentially in perl - maybe KSH) - let's call it: external_program.
So,
Perl_A
...code
...code
qx!external_program!
...code
...code
The catch is that external_program will set...
I tested this concept with our wrapper script and it basically works but I have a few questions:
1) I purposely over simplified the wrapper script a bit. We actually call the wrapper with various parameters.
Example: wrapper.ksh a b 16 somescript.ksh parm1 parm2
I discovered I could pass the...
Hi,
I have been doing some reserach on Perl Modules and was wondering if anybody had any opinions on the Error.pm module. Is it safe to use. I have read conflicting opinions on it.
Thanks
Hi,
I have been doing some research and discovered the Error.pm module at cpan.org. The first thing I read seems to say the Error.pm is wonderfull and solves many error handling problems well. However, then I read some other stuff that say Error.pm causes more problems than it solves and some...
Thanks. I have definitely heard of sudo. In fact our "Unix Adminstrator" uses it alot. I orginally asked him this question and he said there was no way to do it. I will have to bother [smile] him again.
Hi,
I have a feeling the answer to this question is no. But I thought I would ask just to be sure.
I have lookup file: so to speak "lookupfile.data" which contains various information. I also have a lookupfile_update.ksh script which is a Korn Shell script and allows add/change/delete...
Rod,
Thank you very much for your reply. It is a very interesting technique. I may have to investigate it and experiment. However we probably have 100's if not more of these jobs running at once. Will that cause an issue? I'm not at work right now so this is a guess I believe the wrapper script...
I hope I am explaining this okay. Our shop has a wrapper script so to speak that all production Korn Shell scripts are called under. The wrapper script controls various processing options such as cycle date etc. This all works great EXCEPT when the wrapper script is updated.
This might be...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.