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 John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by jivetrky

  1. jivetrky

    Calling Cobol DB2 from REXX (ISPF panel)

    Have you tried this? x=msg('off') "CALL 'LMG.TEST.LOAD(NDVREMER)' '"ndvparm"'" x=msg(x) This will turn messages off for this call. Or you could use outtrap if you need to process the message. x=OUTTRAP("mymsg.") "CALL 'LMG.TEST.LOAD(NDVREMER)' '"ndvparm"'" x=outtrap(off) A positive...
  2. jivetrky

    CALLING MACRO IN BATCH

    I found the problem. It was a region size issue. I increased my region and it worked like a champ. I would like to thank everyone who posted.
  3. jivetrky

    CALLING MACRO IN BATCH

    OK, I tried something a little different. I'm building my edit macro on the fly and then calling it. I am storing my macro in the same library as my EXEC (SYSSU.REXX.EXEC). It is coded as follows: /* REXX */ Say "<<<<<<CMNEDIT REXX EXEC WAS...
  4. jivetrky

    CALLING MACRO IN BATCH

    Also, I'm following this article from TSO/Times to the tee. http://www.tsotimes.com/articles/archive/summerfall98/ispf.html
  5. jivetrky

    CALLING MACRO IN BATCH

    It works like a champ in the foregroup. When I run a trace, I get an RC(4). 11 *-* ADDRESS ISPEXEC "EDIT DATASET('"FILENAME"') MACRO("MACRO1")" >>> "EDIT DATASET('TEST.PDF') MACRO(##CMDS)" +++ RC(4) +++ 12 *-*...
  6. jivetrky

    CALLING MACRO IN BATCH

    I don't think that is the problem. I have quotes around the dataset name and feeding a variable. (i.e. '"FILENAME"') I renamed my dataset from TEST.PDF to S743SS.TEST.PDF and reran my job. I got a return code of 990 with the following errror. * Data set not cataloged -/-'TEST.PDF' was...
  7. jivetrky

    CALLING MACRO IN BATCH

    I'm trying to run an edit macro from batch. Below is the JCL, edit macro, and REXX. It works online but not in batch. It appears the edit macro is not being called. What am I doing wrong? Also, I'm attaching the output of my JCL. *******************************************************...
  8. jivetrky

    Clean-up the unwanted datasets

    Are you trying to do this in MVS?
  9. jivetrky

    Send email through REXX

    Have you looked at XMITIP? http://www.lbdsoftware.com/xmitip.html
  10. jivetrky

    Program hang with REXX

    That was it rexxhead. I knew it was something simple. Thanks for everyones help.
  11. jivetrky

    Program hang with REXX

    I have a REXX using panels to gather information from the user to build JCL for them. I'm running into a problem. After the user enters their information, they have to press the enter key twice to have it to go on. I've tried to use the following: "ISPEXEC CONTROL DISPLAY LOCK" before...
  12. jivetrky

    ADDING MSGLINE

    Its been awhile since I've worked in REXX. I'm trying to remeber how to add a message line to a dataset when I'm in edit mode. For example ==MSG> MESSAGE GOES HERE ==MSG> MESSAGE CONTINUES ETC ETC 00001 00002 00003 Anyones help would be appreciated.
  13. jivetrky

    outtrap issue

    I'm thinking its vendor supplied program. I can't find it in my concat libraries. It is basically checking dataset enques.
  14. jivetrky

    outtrap issue

    I am having issues with outtrap. I am using the following code to trap dsnenq command. Trapping is not working because it lists the DSNENQ command output and if you list var.0 command it is zero. Any ideas? do i=1 to info.0 dsn=strip(substr(info.i,1,46),t) x =...
  15. jivetrky

    CONCAT private libraries to SYSPROC

    Thks rxusr it worked great.

Part and Inventory Search

Back
Top