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

    Embedding Binary in a Text File

    Use the CHR() function to build your PCL string as a char type variable, and then either use PUT CONTROL to send the PCL control string to the printer or embed the PCL control string in your printline. Consult an ASCII code table for the decimal value equivalent of your binary data. For...
  2. MadMichael

    Auto Restart Agents...

    ACK!! Here is a slightly better representation of the .cmd file: @echo off sleep 360 echo "GOC BROKER START" >> C:\import.log "c:\program files\progress\bin\wtbman" -i GOC-NBSLink -start >>C:\import.log exit
  3. MadMichael

    Auto Restart Agents...

    Every startup/shutdown process that you can do in the Progress Explorer GUI can be done from the command line. The Agent (Transaction Server) startup command is: wtbman -i [AGENT NAME] -start Here is a .cmd file that I invoke as a scheduled process to insure that an Agent is started properly...
  4. MadMichael

    Vanity Plates XII

    On the freeway this morning: ZMNYDGS My best guess is:
  5. MadMichael

    FTP Adding Extra CR/LF After Every Record

    This is a legacy difference between UNIX and DOS/WINDOWS text conventions. UNIX expects a text line to end with LF, the DOS/WINDOWS convention is LF/CR as the line terminator. The LF/CR terminators _are_ there in Windows, it just doesn't show them to you. Try setting ASCII mode in the FTP...
  6. MadMichael

    DD Command

    Have you looked at the manual page by running 'man dd'? Also, you could google 'linux dd'. I don't know the exact details for linux, but your 'if' and 'of' parameters should be raw device names, something like '/dev/fd0'. Do a directory listing of your /dev directory to see what your raw...
  7. MadMichael

    Prowin32

    Can you run each process from a distinct user-id, and identify the individual processes by user-id?
  8. MadMichael

    convert output to .html file

    Here is an example of a 'boilerplate' HTML envelope which has a Server Side Include of a shellscript output file. Your script output may contain HTML tags as necessary if you wish. Hint: your HTML envelope will have a file extension of '.shtml'. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML...
  9. MadMichael

    Vanity Plates XI

    Banned in Illinois: http://www.suntimes.com/4117740-417/the-off-color-personalized-license-plates-that-are-banned-in-illinois.html
  10. MadMichael

    Printer Setups

    It may vary with your version, but in 11.11 I use 'sam', System Administration Manager. There is a man page for it.
  11. MadMichael

    schedule a prorest command

    If the confirmation is to allow over-write of an existing database, just delete the pre-existing database before you do the restore.
  12. MadMichael

    What Happens in Vagueness Stays in Vagueness

    This showed up in my inbox today: CLARK WHELTON What Happens in Vagueness Stays in Vagueness The decline and fall of American English, and stuff I recently watched a television program in which a woman described a baby squirrel that she had found in her yard. “And he was like, you know...
  13. MadMichael

    Vanity Plates XI

    Seen in traffic today: TUTZPOP
  14. MadMichael

    how can I shade one field in the middle a line

    For that you would use PCL (Printer Command Language) control codes. You can google 'PCL' and find reference documents on-line. PCL control is more commonly used to set properties for the entire printed page, i.e. landscape/portrait, font style/size, registration adjustment, etc. The catch...
  15. MadMichael

    how can I shade one field in the middle a line

    Sample code: def var v-field1 as char format "x(10)" initial "NORMAL". def var v-field2 as char format "x(10)" initial "REVERSED". display v-field1 v-field2 with frame main. color display messages v-field2 with frame main.
  16. MadMichael

    Bidder offers alternate solution

    In real life, not very reliable, 55% packet loss: http://en.wikipedia.org/wiki/IP_over_Avian_Carriers
  17. MadMichael

    Vanity Plates X

    http://horriblelicenseplates.blogspot.com/
  18. MadMichael

    Truncate Empty Spaces

    Your code and output will be easier to read if you post it between 'code' tags like this: <your code and output goes here> Is 'emp-branch' the bank name field you are concerned with? It looks to me like your output is a fixed-length format and you have supplied the correct position for the...
  19. MadMichael

    Vanity Plates X

    On a metallic green New Beetle: RNBUGGY Probably a nurse.
  20. MadMichael

    Truncate Empty Spaces

    Please post example code that produces the problem.

Part and Inventory Search

Back
Top