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

    Migrate gawk script to awk

    Hi, I'm using the awk version which in the IBM AIX UNIX 5.3 i'm using.
  2. stagebi

    Can I use perl to do this?

    Soory, so the outpu should be : programme1.out;TABLE1;TAB_PERS;ID_PERS programme1.out;TABLE2;TABLE_FROM1;ID_PERS Thanks
  3. stagebi

    Can I use perl to do this?

    Hi, The output should be something like this : programme1.out;TABLE1;TAB_PERS;DISTINCT ID_PERS (or just ID_PERS, DISTINCT only if it's possible but not essential) programme1.out;TABLE2;TABLE_FROM1;ID_PERS
  4. stagebi

    Can I use perl to do this?

    Hi! I'm not really "programmer" but I have to do a script. The purpose of this script is to have something like this on input : CREATE TABLE : prg1;TAB1 AS SELECT : prg1;COL1,COL2,COL3 FROM : prg1;TABLEFROM CREATE TABLE : prg1;TAB2 AS SELECT : prg1;ALIAS1.COL1,ALIAS2.COL2 FROM ...
  5. stagebi

    Migrate gawk script to awk

    Hi! Anybody know why the script doesn't work? Is it because of . (dot) in the input file?
  6. stagebi

    Migrate gawk script to awk

    Thanks a lot! That's work for the data on exemple. But I've tried with real data like this : CREATE TABLE : programme1.out;TABLE1 AS SELECT : programme1.out; DISTINCT PERS.ID_PERS FROM : programme1.out;TAB_GRP GRP , TAB_PERS PERS CREATE TABLE : programme1.out;TABLE2 AS SELECT ...
  7. stagebi

    Migrate gawk script to awk

    I'm not really "programmer", actually I just have to test scripts and install it on the server. Sometimes I have to do little modifications on scripts but I don't known any language well. The purpose of this script is to have something like this on input : [code] CREATE TABLE : prg1;TAB1 AS...
  8. stagebi

    Migrate gawk script to awk

    I'm really a beginner in awk, I've just modify this script, I don't known awk... What I have to do to replace match with RSTART and RLENGHT?
  9. stagebi

    Migrate gawk script to awk

    Thanks for your response, No I can't install gawk on this server, it's a production server I only can copy my script on it after testing on the testing server (where awk AND gawk are installed) Is it very difficult to replace the match function? Nobody have already did that?
  10. stagebi

    Migrate gawk script to awk

    Hi, I've a gawk script wich work fine with gawk but on the IBM AIX server I've just awk, the script doesn't work with awk, I've got this error : $ awk -f awk_sql2.awk syntax error The source line is 1. The function is parseCreate. The error context is <<< function parseCreate(t)...

Part and Inventory Search

Back
Top