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

    ` is not expected. - Brand new to scripting

    My mistake. I found a typo I made. YES! Your last suggestion did EXACTLY what I need! Consider yourself a HERO today! I greatly appreciate your help on this. It has saved me days (at least) of work. THANK YOU
  2. Faelcu

    ` is not expected. - Brand new to scripting

    I'm looking to get something like the following except that I need two lines printed when I find "w-title" and not just one. ./csv-prtloc2.p:def var w-title as char format "x(40)" init ./csv-prtloc2.p:{repstart.i &title=w-title ./lblsxsku.p:def var w-title as char format...
  3. Faelcu

    ` is not expected. - Brand new to scripting

    Okay. I'm begin very dense today.... I dropped the first part of my script and ran just the 'find' command you gave me. This worked! But it didn't give me the source file names as I'd hoped. I think I've been working on this too long and I've gone blind ;-> My goal is to list the...
  4. Faelcu

    ` is not expected. - Brand new to scripting

    I get the same error message. And from what I've read grep won't print the two lines, just one. find . -name "*.p" -type f|xargs grep "w-title" > /home/gls/find.doc will give find me all the program lines in all the directories and subdirectories I'm searching, but it won't give me the...
  5. Faelcu

    ` is not expected. - Brand new to scripting

    I think my problem is on the 'do' line or the 'for x' line. I changed the awk statement to grep -i -p"." "w-title" and get the same message. ' is not expected.itles[29]: 0403-057 Syntax error at line 31 : `do
  6. Faelcu

    ` is not expected. - Brand new to scripting

    I'm trying to write a script to find all the report titles in our program directories. The key I can use for this is "w-title". My biggest problem is that the actual title may be on the next line so I need to print out both lines. I'm brand new to scripting so there's probably something...
  7. Faelcu

    Can't figure out how to get multiple browse to work

    Thanks so much for the help. This certainly clears up my confusion around the Progress documentation. Now things make sense and I got my program to work the way I intended. Thanks for your help.
  8. Faelcu

    Can't figure out how to get multiple browse to work

    I love using the Browse and Query but this is the first time I'm trying to use a MULTIPLE BROWSE. I need to select multiple records and then save those rowids to a temp-table to use them for a later "batch" process. I'm following the only instructions/sample code I can find and I'm lost on...
  9. Faelcu

    Pgm runs on DB copy A but not on DB copy B

    I hadn't really considered that. But now I think I'll have to try to get our DBA to check this out. Thanks.
  10. Faelcu

    Pgm runs on DB copy A but not on DB copy B

    Has anyone ever run into something like this? We're on Progress 9.1D07, CHUI application, AIX 5.1. We have 2 test databases, both copies of our production db. I have a program that works perfectly on both production and copy A, but one part does not work on copy B of the db. I've deleted...
  11. Faelcu

    SIMPLE ?? Solution

    If your file doesn't have the indices you need you can load a temp-table and build the needed index there. Then you can use the "if last-of(temp-table.note)".
  12. Faelcu

    Is there a way to export a character string WITHOUT surrounding quotes

    I've already parsed the data into one long character string so the PUT works perfectly. I never thought of it for this application. Thanks very much!
  13. Faelcu

    Is there a way to export a character string WITHOUT surrounding quotes

    Is there some way to export a single character string as a record and NOT have the character string surrounded by quote marks? I have a need to build an export file that will be sent to a mainframe somewhere and they need the data without the quote marks surrounding the character string...
  14. Faelcu

    Progress Newbie...

    An excellent resource is the book "Making Good Progress, The Application Development Process" by John Campbell. You buy it through White Star Software. It's expensive, but I've found it invaluable in explaining things. Especially since I couldn't get sent to any courses when I...
  15. Faelcu

    Need help! Formating for Word on AIX w/9.1D CHUI

    I don't want to actually work with Word, just put some formatting into the text file that I output so the users can open the file in Word without having to manually put in all the formatting. HTH TIA
  16. Faelcu

    Need help! Formating for Word on AIX w/9.1D CHUI

    Hi, All. I need some help. I have a program that emails a text file to the user. They now want this file formatted to a Word .DOC file (with specific margins, font sizes, etc.). I have no idea how I can make this happen. Changing the file extension from .TXT to .DOC makes no difference at...
  17. Faelcu

    How can I use the FOR EACH... WHERE against an array?

    Thanks for all the help on this one. I made the array a list and used a lookup in the FOR EACH WHERE statement and things are working beautifully. Thanks very much, everyone, for your help!
  18. Faelcu

    How can I use the FOR EACH... WHERE against an array?

    I have the array defined as ae-code as char format "x(3)" extent 54 init ["L01", "D01", "L09",..... etc. I need to find all the records where a field's value equals the value in any of the elements of the array. Is there any way...
  19. Faelcu

    How can I use the FOR EACH... WHERE against an array?

    I'm trying to select records based on a field being equal to any of the elements in a hard-coded array and I seem to be brain-dead on this today. :~/ Can anyone give me some suggestions on how I can make this happen? TIA

Part and Inventory Search

Back
Top