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 Chriss Miller 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: *

  • Users: jmanj
  • Content: Threads
  • Order by date
  1. jmanj

    Email Body is a file or template

    I could create a simple email script like mailx -s "Subject" email_address < $Template My problem is embedding some coded variables in $Template so that it will use local variables passed to the script such name, date, etc. I could have just typed in the body of the email and use ${var} but the...
  2. jmanj

    Read All files and append to another files

    Need your help on this using ksh (or maybe awk). I want to read all files is a directory that has an extension of .dmx and then append the data to an empty file. This .dmx file has a timestamp on it's name and I also want to delete it once the content is copied to the other file. Sorry but I...
  3. jmanj

    sh: A300: not found

    The ksh scripts runs okay but getting this message everytime: sh: A300: not found Any help is appreciated.
  4. jmanj

    Weird Script

    I have a ksh scripts that when called by a cobol program although it is successful I'm getting the following log messages 4 times. sh: D: not found. This script is in aix and when I call the script using the command line I'm not getting any messages at all. The script is just...
  5. jmanj

    Mercator 5.0 &amp; 6.5

    I have some maps that uses Mercator's Database Interface and they are all running perfectly well with Oracle 9.x but not on Oracle 10g. It only read the first record and then throws an error that it has found an invalid data. Would appreciate any help on this.
  6. jmanj

    Ksh script within cobol

    I'm hoping that somebody might have a similar problem that I'm having with a ksh script. I have a script that is called within a cobol program as the last statement. This program/script runs perfectly well under solaris. However, under AIX the cobol pgm runs okay but not the script. If I ran the...
  7. jmanj

    Calling ksh script

    We are using micro focus cobol and we have a program that calls a shell script as the last statement. In sun solaris the program calls the script without any problem. But in AIX the cobol program runs but not the script. If I call the script thru the command line, it works. I'll appreciate if...
  8. jmanj

    Broken Pipe

    We are still using mercator 5.0 for Lawson applications. We are getting error message "Broken Pipe: Mercator Adapter failed". Anyone who have seen this message before? We are in the process of moving to Websphere but that is still a year ahead. Appreciate any help on this. jmanj
  9. jmanj

    Cobol/ksh script API

    Hi all, I have asked this question in the unix scripting forum but this might be the appropriate forum to ask. We are using micro focus cobol netexpress(unix/solaris) and some of my pgms has calls to unix .ksh script and they do ran perfectly well. One thing I have not done is to test for the...
  10. jmanj

    Changing Parameter Value

    Hi all, I'm writing a cobol program that calls a .ksh script with 2 parameters. In my script it will look something like this: TMPDIR1="/DEVDIR/edi" TMPDIR2="/DEVDIR/work" WORKFILE="EDIFILE.txt" TEMPFILE1="REJECT.TXT" cd $TMPDIR1 parm2=$2 EXPORT parm2 IF $1=1; Then cd $TMPDIR1 if [ -f...
  11. jmanj

    Floating $ sign

    I don't have a reference to MicroFocus NetExpress cobol 4.2 I think. I wonder if there is a way to do a floating dollar sign to a field. I don't remember if this is even possible in cobol. I have a client who wants an excel or csv output with amount having dollar sign. Without using any...
  12. jmanj

    Listing Alphabetically

    Hello, I have had a lot of help in this forum learning how to write a script in unix and I really appreciate your help. Now I have another challenge for me to do. The following script below works fine when I'm trying to list all active procedures running under ScanFileClient (daemon). I have no...
  13. jmanj

    XML output

    Does anybody has a sample or how-to procedure on creating a simple xml output from csv input file? Thanks for any help.
  14. jmanj

    Flat File trailing blanks or spaces

    How do you add trailing blanks to a flat file. I have a MF cobol program that creates a fixed length record of 300 characters. The last 60 characters is an all blank field. I have used filler with value spaces, move spaces to the field or move " " to the field but the created file does not...
  15. jmanj

    List files with certain search characters

    I'm a biginner with unix and hope somebody can help me with searching files that contains certain words or characters. I simply want to know what command I will use to list all files in a directory that has the word "500-PROCESS-CREATE" in it. Thanks for any help.
  16. jmanj

    Leading Sign in Micro Focus Cobol 2.2

    I'm getting an error " SIGN not expected" on 02 COUNT PIC S9(10)V99 SIGN IS LEADING. I'm wondering if this is one of those version of micro focus server express that does not accept leading sign. Any help is greatly appreciated. Thanks. note: COUNT is part of an output record.
  17. jmanj

    Micro Focus Error

    I got this error when I'm trying to compile a program in Micro Focus Sever Express V2.2. Hope anyone can help on this matter because the help support could not help. PrcCNDKEY(): Syntax Error, nCndStks < 2 (Line 867) Note: I don't even have line 867. Don't know where to look at. I created...
  18. jmanj

    Printing Graphics in COBOL

    Here I am again trying to see if anyone has done graphics printing in COBOL. This means printing boxes, shading, font sizing etc just like printing pay stubs. I have done this but in different language. I'm trying to convert paycheck printing in unix environment using micro focus server express...
  19. jmanj

    Escape Sequence for OCE printer

    We have a high speed OCE printer and I have done a lot of PCL commands in my program that were accepted by the printer. I can do a lot of graphics using PCL and no problems at all. Except for one thing. The manufacturer does not want to give me the escape sequence on how to activate/deactivate...
  20. jmanj

    Sorting a work file

    I'm sorting a work file and it seems to be okay except at the very end(I think) I'm getting this message. Hope somebody can help: Bad File Status 4 1 On File SORTEDFILE Here's my sort statement: SD SORT-FILE. 01 SORT-REC. SSN etc etc etc OPEN OUTPUT SORTEDFILE. SORT SORT-FILE...

Part and Inventory Search

Back
Top