rexx

What is the processing overhead of length() in REXX?

How does the processing overhead of the length() function in REXX change with the length of the string? Update: I'm using: uni-REXX (R) Version 297t Open-REXX (TM) Copyright (C) iX Corporation 1989-2002. All rights reserved. ...

How can I parse REXX code in Java?

I'd like to parse REXX source so that I can analyse the structure of the program from Java. I need to do things like normalise equivalent logic structures in the source that are syntactically different, find duplicate variable declarations, etc. and I already have a Java background. Any easier ways to do this than writing a load of cod...

Problems using REXX to access both Teradata output and DB2 output

I have a REXX job that needs to read from both Teradata (using BTEQ) and DB2. At present, I can get it to either read from Teradata or DB2, but not both. When I try to read from both, the Teradata one (which runs first) works fine but the DB2 read gives an error of RC(1) upon attempting to open the cursor. Code to read from Teradata (by...

How do I copy a member with a REXX/CLIST batch program (no ISPF)?

Under z/OS, I want to write a REXX or CLIST script to copy one sequential data set to another and then run another script (REXX). The other script expects a specific SDS to exist and I want to be able to copy one of many options to that member before running the second script. This is from TSO so I don't have access to any of the fancy I...

What are the relative merits of REXX and CLISTs under z/OS?

What are the advantages and disadvantages of using either REXX or CLISTs in TSO for z/OS? My understanding is that CLISTs are just an older command language but we seem to receive a lot of new software using them, even though REXX is now standard with the operating system. Is there some reason why CLISTs are preferred, especially given...

Any certifications for Mainframe experience? Please suggest...

I'm having experience of 3years in Mainframe and working in India, for a reputed US Telecom MNC. I have expertise on COBOL, JCL, REXX and DB2. Can somebody suggest on doing some certifications. I know there are IBM standard DB2 certification, but do we have anything else? Your help is really appreciated. And also let me know if somebody ...

How to write a HEX string into a file as HEX using REXX..

I have a string 'RAJA' which should be written into a file as HEX data. Here are sample codes which help me to describe the issue. Case(a) name = 'RAJA' name = C2X(name) /* Hex value = '52414A41' */ QUEUE name. Output to the file: 52414A41 But if we use HEX data directly to write into file it's working fine Case(b) name = '52414A...

How to pass arguments to REXX program through JCL..

Can we pass arguments to a REXX program from JCL? I suppose, JCL PARM can be used as we use for passing arguments to COBOL programs.. Do put your ideas here... ...

Is REXX available in .NET?

Is anyone aware of a REXX implementation for .NET? Or plans for one, perhaps using the DLR? ...

Is there a TSO command written in REXX or CLIST that can determine WHO has enqueued a dataset?

I need to write a REXX Exec or Clist to identify WHO has enqueued a Dataset and display a user friendly message on an ISPF dialog application. Due to system configuration issues, the %WHOHAS command is not available. However I also know that ISPF itself (Option 3.4) has proprietary hooks into the zos mainframe to display the enqueued r...

Resources To Learn REXX

I want to travel in the past and learn REXX, but I don't know where to start, then I want some help from someone that can point me to the right place to start. ...

How to list out a GDG base properties through REXX..

How to know GDG base properties through REXX code; Of course we can view the GDG limit thru File-aid 3.2 option But need to list the properties on the fly and may be used in consecutive program/module. Hope made you clear and waiting for response! (Do let me know if any other information is required?) ...

Get other than error level from exe

Hi. Is it possible to get a return value other than error level from .net exe? The exe is to be called from a script, batch or rexx. If not, can you invoke a method in an assembly from batch or rexx and retrieve a return value? ...

Is there a more modern regexp handler for Open Object Rexx

The regular expression class (rxregexp.dll) that comes with ooRexx (I'm on 4.0.0) is relatively low on function compared, say, with Python's re module (even at 2.5.2). It appears to have no assertions, no facilities for group extraction, or for substitution. Greedy or lazy matching is a global pattern option, rather than flagged by an a...

REXX / z/OS question

Hi, I'm wondering one thing with REXX-language, how it handles data set locks. The situation: - I have sequential data set open in my ISPF-editor - I start REXX-program what updates (makes changes) that data set - it works fine, but how it is possible? Normally if you have data set open in your editor and you try to use that from anothe...