Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. jimlocigno

    Is it possible to use enviornemnt variables on the shebang line?

    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...
  2. jimlocigno

    Symbol __strtollmax (number 23) is not exported .... what's this mean

    Never Mind. I figured what to do. In gcc there is a specific switch to compile with that enables 64-bit pointers.
  3. jimlocigno

    Symbol __strtollmax (number 23) is not exported .... what's this mean

    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...
  4. jimlocigno

    Creating a Variable Length Mainframe file by FTPing a file from AIX?

    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...
  5. jimlocigno

    Creating a Variable Length Mainframe file by FTPing a file from AIX?

    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...
  6. jimlocigno

    Called Programs and Environment Variables - "Scope" Question

    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...
  7. jimlocigno

    Called Programs and Environment Variables - "Scope" Question

    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...
  8. jimlocigno

    Does AIX cache (so to speak) Korn Shell Scripts

    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...
  9. jimlocigno

    Is Error.pm safe to use?

    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
  10. jimlocigno

    Opininons on Error.pm module - is it safe?

    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...
  11. jimlocigno

    Can I "force" a file to be updated only by a specifc script?

    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.
  12. jimlocigno

    Can I "force" a file to be updated only by a specifc script?

    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...
  13. jimlocigno

    Does AIX cache (so to speak) Korn Shell Scripts

    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...
  14. jimlocigno

    Does AIX cache (so to speak) Korn Shell Scripts

    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...

Part and Inventory Search

Back
Top