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

    SYSTEM command wait

    Hi SUSANNAH, I, too, was a former occupant of the Focus CMS environment. Things were so much simpler there! Anyway, the SLEEP command does work in WebFocus - but only after the DOS copy command has finished - so it does not really help. I also tried the CMD copy command, as you suggested but...
  2. PeterG5

    SYSTEM command wait

    Using WebFocus, how can I ensure when calling a DOS command via the SYSTEM command, that sufficient time is allowed for the operation is complete? Is there some way to "pause" the fex until the DOS command has completed? I'm having occasional problems when the DOS command takes more than 5 or 6...
  3. PeterG5

    spaces between column in pdf

    I've often had this problem and have been occasionally able to solve it by reducing the the size of the column headings which may have been wider that the actual column contents. Also, try reducing the margins on each side of the page, possibly by setting the stylesheet margin parameters, for...
  4. PeterG5

    Passing a Parameter to a FEX and Running that FEX

    If you're passing parameters between different fex's, you must use double-ampersand variable field names, i.e. call your field &&RPTNAME. You can reset this at the end by saying: -SET &&RPTNAME =;
  5. PeterG5

    FOREIGN LANGUAGE ACCENTED CHARACTER

    Hi All, I've come across this before but usually managed to get around it by 'fixing' the offending character. What's happening is that I'm reading a DB/2 file using ODBC and outputting the results onto an alpha hold file. So far, so good. However, some of the data has imbedded accents and when...
  6. PeterG5

    FOCSORT error

    I'm still getting this problem. Can anyone help? Is Focsort short of disk space? Can I increase it? The Focsort file is actually on the disk but WF seems unable to see it..... error this morning: 08/12/2005 06:53:17 u=PFitzger, pid=2880: Error accessing FOCUS file focsort.foc, FOCUS name FOCSORT...
  7. PeterG5

    FOCSORT error

    Hello, I'm not using EDASTART (I can't seem to find it anywhere in WF 431), so I use WFMOBILE instead and it has worked OK for years. Basically, I point it at a fex where there is a series of EXecute statements, one for each of the imbedded fex's, each of which is followed by a -RUN. It is the...
  8. PeterG5

    FOCSORT error

    Hi All, I'm running WF 431 under Windows 2000 and am having occasional difficulties with FOCSORT.FOC. I got this message in the EDAPRINT log this morning when running an un-attended overnight operation. There's plenty of space on the output disk and I've also tried to erase the FOCSORT file...
  9. PeterG5

    WebFocus Console Log

    Hi All, I need to record Focus activities, as recorded in the console log, in a file for later verification as I will be running jobs un-attended overnight using the 'wfmobile' feature. In my former VM environment, I simply spooled the console of the virtual machine and everything was recorded...
  10. PeterG5

    FOC350

    Hi, The actual code is shown below..... I can't recall the exact message but SQLOUT was mentioned as being the fex in error and OUTPUT1 as being the file which couldn't be written, though approx 14,000 records had been written at this stage out of a total of approx. 480,000. This problem has...
  11. PeterG5

    FOC350

    Hi All, I'm getting the above message intermittently when writing a format ALPHA hold file of approx. 408,000k in size resulting from an SQL ODBC query, using Windows 2000 and WebFocus 431. It seems to go so far then stop. If you try again, it's OK. Any ideas on what the matter might be? Many...
  12. PeterG5

    HOLD FILE WIDTH

    Hi Jimster06, Thanks for this tip; It could be used if I cannot set the width appropriately. I have used MF Focus and been able to output up to 512 characters. The WebFocus limit seems to be between 300 and 400. Hi Craigiep, Unfortunately, neither COM nor COMT seem to be supported on my...
  13. PeterG5

    HOLD FILE WIDTH

    Hi, What is the maximum width for a Lotus hold file and can this setting be changed? Thanks.
  14. PeterG5

    WebFocus 431 under Windows XP

    I am currently running WF 431 under Windows 2000, though I'm sure it was originally designed for an earlier version of Windows, possibly W98. I'm getting a new p.c. which will have XP as the default operating system. Will WF work in this environment or will I need to install W2000? Thanks!
  15. PeterG5

    Show data for all combinations even if zero

    Have you tried SET ALL = ON
  16. PeterG5

    How to clear global variables in code ?

    Hi Wayster, I usually reset all such varialbles, whether local (&) or global (&&), by: -SET &&ST_YR_WK =; -SET ..... -RUN Peter.
  17. PeterG5

    Filtering using a temporary field

    Hi All, It's all a bit new to me and I know how to do this in other languages, so can anyone please help me? I want to define a temporary field and then use it as a filtering condition, like this..... SELECT (SNAP.SO_VIEW_ID || SNAP.SO_STATUS_LAST_ID ||...
  18. PeterG5

    How to use WFMOBILE

    Hi, I've used wfmobile as a scheduled task, like this: C:\Ibi\desktop43\home\bin\wfmobile.exe EX C:\IBI\APPS\DB2\DB2AUTO.FEX ...my DB2AUTO.FEX looks like this: SET USERPATH= C:\IBI\APPS\DB2 -RUN EX PROFILE -RUN EX SETFILES -RUN EX REPORTS -RUN -QUIT FOCUS Peter.
  19. PeterG5

    Export to comma-delimited file - with a difference!

    Greg, Thanks for your perseverence. 1. When importing a comma-delimited file, Focus (a) needs the fields to be comma separated (b) will handle single quotes (or no quotes) around fields and (c) needs a ,$ at the very end as an end-of-record indicator. 2. It can handle 'fixed' files also -...
  20. PeterG5

    Export to comma-delimited file - with a difference!

    Hi Greg, Command 1: DB2 - TVF EXPORT1.SQL >C:\IBI\PGFTEMP\TEST.TXT EXPORT1.SQL script: SELECT SO_STATUS_NEXT_ID || ',' || SO_STATUS_NEXT_DESC || ',' || '$' FROM E6DW_DATA.SOT_LU_STATUS_NEXT WHERE SO_STATUS_NEXT_ID <= '999' WITH UR; - this gives the big long line in TEST.TXT, as follows...

Part and Inventory Search

Back
Top