All I know is that in the past I was not able to use the STRIP function in 
NETVIEW - I remember researching the issue at the time and
 comparing TSO REXX to NETVIEW REXX. Even if  STRIP worked in native NETVIEW, 
it did not work with automation.



-----Original Message-----
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of 
Seymour J Metz
Sent: Monday, November 30, 2020 9:36 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Auto Reply on SDSF Console

That appears to refer to native NetView EXECs, not to REXX NetView EXECs.


--
Shmuel (Seymour J.) Metz
https://gcc02.safelinks.protection.outlook.com/?url=http:%2F%2Fmason.gmu.edu%2F~smetz3&amp;data=04%7C01%7Cebarkow%40doitt.nyc.gov%7Cf41932c3f1b34c1dd85808d8953d50b4%7C73d61799c28440228d4154cc4f1929ef%7C0%7C0%7C637423437879873577%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=sUAJNNMIBNm56iEACV%2Fz2oO2tM4PQksfPl3CHq6ImiA%3D&amp;reserved=0

________________________________________
From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Barkow, Eileen [000002bc504b1642-dmarc-requ...@listserv.ua.edu]
Sent: Monday, November 30, 2020 9:30 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Auto Reply on SDSF Console

APAR Identifier ...... OA36757      Last Changed ........ 11/09/02
  STRIP FUNCTION TO STRIP OFF LEADING AND TRAILING BLANKS
  FROM A VARIABLE VALUE

  Symptom ...... NF NEWFUNCTION       Status ........... CLOSED  UR1
  Severity ................... 3      Date Closed ......... 11/08/01
  Component .......... 5697NV600      Duplicate of ........
  Reported Release ......... 10B      Fixed Release ............ 999
  Component Name NETVIEW FOR Z/O      Special Notice       ATTENTION
  Current Target Date ..11/08/15      Flags
  SCP ...................                            NEW FUNCTION
  Platform ............


  Status Detail: SHIPMENT - Packaged solution is available for
                            shipment.

  PE PTF List:

  PTF List:
  Release 10B   : UA61616 available 11/08/16 (F108 )


  Parent APAR:    OA35722
  Child APAR list:


  ERROR DESCRIPTION:
  New function, called STRIP, that would strip off leading and
  trailing blanks from a variable value.
  This function could only be specified in the CMD string in an
  EXEC, and would specify the variable that would be stripped
  of blanks.


  LOCAL FIX:


  PROBLEM SUMMARY:
  ****************************************************************
  * USERS AFFECTED: All users ot Tivoli NetView for z/OS.        *
  ****************************************************************
  * PROBLEM DESCRIPTION: When a command is executed as a result  *
  *                      of an automation table EXEC statement,  *
  *                      if any variable values contain leading  *
  *                      or trailing blanks, the resulting       *
  *                      command may fail, for example, if a     *
  *                      blank signifies the end of the command  *
  *                      string.                                 *
  ****************************************************************
  * RECOMMENDATION:                                              *
  ****************************************************************
  After NetView automation table processing constructs a command
  from constant strings (in quotation marks) and variables defined
  in the automation table (not in quotation marks), there is no
  way to ensure that the resulting command does not contain
  blanks. If a variable value contains blanks, and the resulting
  command does not work properly because of those blanks, NetView
  does not provide a way to strip off those blanks to allow the
  command to work.


  PROBLEM CONCLUSION:


  TEMPORARY FIX:


  COMMENTS:
  A new function, called STRIP, is being provided in automation
  table processing which can be specified in the command string in
  an EXEC statement. When specified, the variable value, without
  leading or trailing blanks or hex zeroes will be used instead of
  the variable value as specified.

  The Tivoli NetView for z/OS V6R1 Automation Guide (SC27-2846-00)
  should be changed as follows:
   In Chapter 15, The Automation Table, in the section named
   Actions, in the description of the EXEC action, in the
   description of 'cmdstring', the following should be added after
   the first paragraph:

     Because variable values could contain leading or trailing
     blanks which could cause the command to fail, you can use the
     STRIP function to strip off leading and trailing blanks or
     hexadecimal zeroes.

       Syntax: STRIP(varname)
         where 'varname' is the variable name whose value without
         leading and trailing blanks and hexadecimal zeroes is to
         be inserted into the command.


  MODULES/MACROS:   DSIAMCMD DSIMACTN DSIMCT   DSIMPRS


  SRLS:      SC27284600


  RTN CODES:


  CIRCUMVENTION:
  Instead of invoking the necessary command string from the
  EXEC statement in the automation table, specify a CLIST to be
  executed, passing the appropriate parameters, which will itself
  use the REXX STRIP() function and execute the desired command.


  MESSAGE TO SUBMITTER:



-----Original Message-----
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of 
Jeremy Nicoll
Sent: Monday, November 30, 2020 9:15 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Auto Reply on SDSF Console

On Mon, 30 Nov 2020, at 14:00, Barkow, Eileen wrote:
> Sorry about that. I see that STRIP is available in NETVIEW REXX now.
> it was not a few releases ago when I tried to use it.

I have a handful of copies of old netview execs here.  I'm looking now at one I 
wrote in 1996 and it uses strip().

--
Jeremy Nicoll - my opinions are my own.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

________________________________

This e-mail, including any attachments, may be confidential, privileged or 
otherwise legally protected. It is intended only for the addressee. If you 
received this e-mail in error or from someone who was not authorized to send it 
to you, do not disseminate, copy or otherwise use this e-mail or its 
attachments. Please notify the sender immediately by reply e-mail and delete 
the e-mail from your system.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to