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 Mike Lewis 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: Adam5
  • Order by date
  1. Adam5

    Need to find out the caller of a REXX-procedure

    I don't like the usage of the stack. Therefore I think, I'll use the "parse source" to get the name of the running exec, and pass that as a argumtent to the called procedure. Thank's a lot![smile]
  2. Adam5

    Need to find out the caller of a REXX-procedure

    Hello, I need to find out which REXX-procedure calls the aktual REXX-procedure. For example REXX-procedure TEST1 calls TEST2: REXX-procedure TEST1: /* REXX */ call TEST2 REXX-procedure TEST2: /* REXX */ whocallsme = ????? say 'I was called from ' whocallsme The result should be: I was...
  3. Adam5

    How to use LDAPSRCH with REXX & Umlaute

    Hello, in thread277-1421324 I've described how zu trap the ouput from LDAPSRCH-tool. A few weeks ago, I had to change the coding, because I was not able to read LDAP-entries with umlaute ("ä", "ö") and other diacritic letters ("á", "é"). I got "Not printable" - Attributes. I had to use the...
  4. Adam5

    Parse XML file in REXX.

    Hi, I found the REXX XML parser from Andrew Armstrong on sourceforge.net: http://sourceforge.net/projects/rexxxmlparser/ From the link above you can download the zip-file and look into it, because it is in ASCII. Beatifull! It seems to be sophisticated! I think I will love it :-) Adam
  5. Adam5

    Parse XML file in REXX.

    Hi mikrom, I downloaded the xmlparse.vmarc - Archive. But I don't know how to get it on the z/OS. What is an vmarc-Archive? Thanks Adam
  6. Adam5

    Parse XML file in REXX.

    Hi kevinpink, can you please post the link to the PARSEXML exec on IBM's website, because I can't find it... :-( Thanks
  7. Adam5

    Using Unicode Services for character conversion in REXX

    Hello, does anybody has an example how I can use the character conversion service CUNLCNV in REXX? I have a stem in CCSID IBM-1141 an want to convert the content of the stem into CCSID IBM-1047. The Unicode Services for character conversion is described here...
  8. Adam5

    How to capture output from LDAPSRCH

    Hello, I've found a solution how to pipe the output of LDAPSRCH into a file[smile]. I had this idea, after I saw a JCL in HLQ.SGLDSAMP - library. It works like piping stdout & stderr in USS. Here ist my REXX-code: 'FREE F(DSOUT)'...
  9. Adam5

    How to capture output from LDAPSRCH

    Hello, in the JCL SYSPRINT is allocated like: //SYSPRINT DD DSN=TXXXXXA.FTP.OUTPUT,DISP=SHR This file already exists: Organization . . . : PS Record format . . . : VB Record length . . . : 1028 Here is the code how I'm allocating SYSPRINT dynamically within REXX: "FREE F(SYSPRINT)"...
  10. Adam5

    How to capture output from LDAPSRCH

    Hello, I want to make an LDAP-search with the REXX-EXEC LDAPSRCH. This z/OS utility can be used to get attributes of LDAP-entries. It can be found on HLQ.SGLDEXEC(LDAPSRCH) and is documented in "IBM Tivoli Directory Server Client Programming for z/OS"...
  11. Adam5

    Calling a stored procedure from REXX

    Hello, now I've got my COBOL-SP to be called from my REXX-script, and it works! I had to initialize my REXX-variables and use indicator-variables. The hint above was quite good :-) Here ist my REXX-script: /*REXX*/...
  12. Adam5

    Calling a stored procedure from REXX

    Hello, my coding from above works fine with "normal SQL-statemtents" like SELECT, INSERT or UPDATE. Only when I want to call a SP with CALL I'm getting SQLCODE -084 at the prepare-statement: "EXECSQL PREPARE s1 FROM :sqlstmt" Maybe I should make a post in the REXX-board :-( I'm wondering if...
  13. Adam5

    Calling a stored procedure from REXX

    Hello Marc, I've found the example in the Redbook, but I'm wondering, because there is no CALL-Statement. It opens a cursor, and fetches the results out of the result set made by the SP. The example below does not fit with my SP, because it does not return a result set. I want to have an...
  14. Adam5

    Calling a stored procedure from REXX

    Hello, the stored procedure run's under the WLM of DB2 V8. My REXX-environment is z/OS 1.6. First I tryed following: filenam = './pub/viwas/extra.zip' abtime = '2005-05-25-14.34.00.493273' SQLQUERY = "CALL MYSCHEMA.MYSTP(file, "!!, "abtime, "...
  15. Adam5

    Calling a stored procedure from REXX

    Hello, I've developed a stored procedure in COBOL, and have tested it with the IBM stored procedure builder. It works fine. Now I want to call the stored procedure from a REXX-script. Whenever I try to call it I'm getting an SQLCODE -084 (UNACCEPTABLE SQL STATEMENT). The example from DB2...
  16. Adam5

    Coverting ASCII to EBCDIC via FTP on MVS Host

    Hello, I'm using following z/OS FTP-Server site-command: quote site sbd=(IBM-273,IBM-850) This will translate the file from EBCDIC-German to ASCII. When you are using the ftp-client on z/os you can see all site-specific FTP-site-commands by entering: "help locsite" Here is the output: help...
  17. Adam5

    Continuation of )SEL - statements

    Hello, that was the right hint! :-) The example works only, if I put the question mark exactly in column 72. When I'm using other colums than 72 (for example column 71 or 73) it does not work properly (that means, I'm getting the error from above). This is the coding that works...
  18. Adam5

    Continuation of )SEL - statements

    Hello, we have z/OS 1.6 and we use file tailoring with skeletons. In "Dialog Developer’s Guide and Reference" page 318 I see following example with the new continuation character '?': )SEL &RC = 0 ? && &VARNAME = &ZUSER ? && &VARI <= 10 This example does not work, I'm getting following...

Part and Inventory Search

Back
Top