Re: Clist character string compare

2014-03-31 Thread Shmuel Metz (Seymour J.)
In 5338993d.5020...@bcs.org.uk, on 03/30/2014 at 11:22 PM, CM Poncelet ponce...@bcs.org.uk said: As in (for REXX): In what environment? TSOEXEC LISTA ST Isn't that only for ISPF? -- Shmuel (Seymour J.) Metz, SysProg and JOAT ISO position; see

Re: Clist character string compare

2014-03-31 Thread Jon Perryman
with an unauthorized dataset would change that. I've used it REXX, CLIST and directly from ISPEXEC SELECT CMD   Jon Perryman. From: CM Poncelet ponce...@bcs.org.uk To: IBM-MAIN@LISTSERV.UA.EDU Sent: Sunday, March 30, 2014 8:21 PM Subject: Re: Clist character string

Re: Clist character string compare

2014-03-30 Thread CM Poncelet
From: CM Poncelet Sent: Saturday, March 29, 2014 13:15 To: IBM-MAIN@LISTSERV.UA.EDU Reply To: IBM Mainframe Discussion List Subject: Re: Clist character string compare Yep, my mistake. But TSOEXEC is needed if LISTA is issued from Clist or REXX ... which is what I was thinking of :-( Ted

Re: Clist character string compare

2014-03-30 Thread Ted MacNEIL
But, do you need it? My recollection is NO. - -teD -   Original Message   From: CM Poncelet Sent: Sunday, March 30, 2014 12:23 To: IBM-MAIN@LISTSERV.UA.EDU Reply To: IBM Mainframe Discussion List Subject: Re: Clist character string compare As in (for REXX): LIST_CURRENT_CONCAT: X = OUTTRAP('DSN

Re: Clist character string compare

2014-03-30 Thread Ted MacNEIL
Sorry, you do need it for transmit, but not for lista. Apples oranges. - -teD -   Original Message   From: Ted MacNEIL Sent: Sunday, March 30, 2014 12:30 To: IBM-MAIN@LISTSERV.UA.EDU Reply To: IBM Mainframe Discussion List Subject: Re: Clist character string compare But, do you need it? My

Re: Clist character string compare

2014-03-30 Thread Ted MacNEIL
To: IBM-MAIN@LISTSERV.UA.EDU Reply To: IBM Mainframe Discussion List Subject: Re: Clist character string compare Do you mean not if there is an ADDRESS TSO before the LISTA? ('From memory' as it takes 40 mins to IPL my machine.) Ted MacNEIL wrote: Sorry, you do need it for transmit, but not for lista

Re: Clist character string compare

2014-03-30 Thread Paul Gilmartin
On Sun, 30 Mar 2014 13:30:23 -0400, Ted MacNEIL wrote: What I'm saying is you don't need TSOEXEC for LISTA. But, you do for TRANSMIT. (Actually only under ISPF) This is so wretchedly complicated! I see: http://pic.dhe.ibm.com/infocenter/zos/v1r12/topic/com.ibm.zos.r12.ikjc500/tsoexeccom.htm

Re: Clist character string compare

2014-03-30 Thread Scott Ford
, March 30, 2014 12:30 To: IBM-MAIN@LISTSERV.UA.EDU Reply To: IBM Mainframe Discussion List Subject: Re: Clist character string compare But, do you need it? My recollection is NO. - -teD - Original Message From: CM Poncelet Sent: Sunday, March 30, 2014 12:23 To: IBM-MAIN

Re: Clist character string compare

2014-03-30 Thread CM Poncelet
Well ... I did things in an 'unconventional' way - e.g. if any command began with % it meant invoke as Clist or REXX and with parms if any. In my panel I had: etc. )PROC etc. CLIST = TRUNC(ZCMD,1) /* --- here */ ZCMD = TRUNC(ZCMD,' ') ZTRAIL = .TRAIL IF (CLIST='%') /* --- here

Re: Clist character string compare

2014-03-29 Thread CM Poncelet
To: IBM Mainframe Discussion List Subject: Re: Clist character string compare You can store/execute a REXX exec in your Clist library if you code /* REXX */ as the first line. You can also issue a TSOEXEC LISTA ST from option 6 to see which datasets are allocated to your SYSPROC (for Clist

Re: Clist character string compare

2014-03-29 Thread Ted MacNEIL
I don't think so. I've never used it within CLIST or REXX. - -teD -   Original Message   From: CM Poncelet Sent: Saturday, March 29, 2014 13:15 To: IBM-MAIN@LISTSERV.UA.EDU Reply To: IBM Mainframe Discussion List Subject: Re: Clist character string compare Yep, my mistake. But TSOEXEC is needed

Re: Clist character string compare

2014-03-29 Thread Shmuel Metz (Seymour J.)
In 5335f8d2.4040...@bcs.org.uk, on 03/28/2014 at 10:33 PM, CM Poncelet ponce...@bcs.org.uk said: You can store/execute a REXX exec in your Clist library if you code /* REXX */ as the first line. That doesn't address his TSOLIB issue, nor the other CLIST-REXX issues. -- Shmuel

Re: Clist character string compare

2014-03-29 Thread Shmuel Metz (Seymour J.)
In 5335f952.3010...@woodsway.com, on 03/28/2014 at 06:36 PM, Bob Woodside ibm...@woodsway.com said: Such as? EXEC create entries on the stack, then goes away. The TMP uses I/O service routines, e.g., GETLINE, to read lines from the stack, and the service routines interpret the clist code in

Re: Clist character string compare

2014-03-28 Thread Richards, Robert B.
-MAIN@LISTSERV.UA.EDU] On Behalf Of Skip Robinson Sent: Friday, March 28, 2014 12:30 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Clist character string compare I wish OP would take a step back and consider why this process must be a CLIST. As a newbie many years ago, I spent inordinate hours

Re: Clist character string compare

2014-03-28 Thread Ken Smith
You're missing the ampersand before JOBCARD - JOBCARD. On Thu, Mar 27, 2014 at 9:19 PM, Micheal Butz michealb...@optonline.netwrote: Hi I cann't seem to get equal looking for a character string in the input file I know that the job card is somewhere in the middle of the file So here is

Re: Clist character string compare

2014-03-28 Thread Shmuel Metz (Seymour J.)
In of6528a2b6.d0960855-on88257ca9.0016d1c9-88257ca9.0018c...@sce.com, on 03/27/2014 at 09:30 PM, Skip Robinson jo.skip.robin...@sce.com said: The question is not whether it's possible to do anything in CLIST. The question is why bother? Alas, there are still some things that you can do in

Re: Clist character string compare

2014-03-28 Thread Micheal Butz
My first choice was Rexx however I needed a steplib or in TSO terms a TSOLIB that seems to be a problem whitin Rexx only after you leave the Rexx exec does it take effect at least that's what the IBM doc states Sent from my iPhone On Mar 28, 2014, at 5:39 PM, Shmuel Metz (Seymour J.)

Re: Clist character string compare

2014-03-28 Thread Micheal Butz
SHARE MVS Program Co-Manager 626-302-7535 Office 323-715-0595 Mobile jo.skip.robin...@sce.com From: CM Poncelet ponce...@bcs.org.uk To: IBM-MAIN@LISTSERV.UA.EDU, Date: 03/27/2014 06:50 PM Subject:Re: Clist character string compare Sent by:IBM Mainframe

Re: Clist character string compare

2014-03-28 Thread CM Poncelet
-7535 Office 323-715-0595 Mobile jo.skip.robin...@sce.com From: CM Poncelet ponce...@bcs.org.uk To: IBM-MAIN@LISTSERV.UA.EDU, Date: 03/27/2014 06:50 PM Subject:Re: Clist character string compare Sent by:IBM Mainframe Discussion List IBM-MAIN@LISTSERV.UA.EDU Have you tried

Re: Clist character string compare

2014-03-28 Thread Bob Woodside
On 3/28/2014 5:39 PM, Shmuel Metz (Seymour J.) wrote: In of6528a2b6.d0960855-on88257ca9.0016d1c9-88257ca9.0018c...@sce.com, on 03/27/2014 at 09:30 PM, Skip Robinson jo.skip.robin...@sce.com said: The question is not whether it's possible to do anything in CLIST. The question is why

Re: Clist character string compare

2014-03-28 Thread Paul Gilmartin
On Fri, 28 Mar 2014 18:36:02 -0400, Bob Woodside wrote: Alas, there are still some things that you can do in CLIST but not REXX. Fortunately, you don't need them very often. Hmm Such as? Modal use of linemode editor, available alike in CLIST and CMS EXEC, but not in EXEC2 or Rexx. If

Re: Clist character string compare

2014-03-28 Thread Ted MacNEIL
You don't need the TSOEXEC for LISTA. - -teD -   Original Message   From: CM Poncelet Sent: Friday, March 28, 2014 18:34 To: IBM-MAIN@LISTSERV.UA.EDU Reply To: IBM Mainframe Discussion List Subject: Re: Clist character string compare You can store/execute a REXX exec in your Clist library if you

Re: Clist character string compare

2014-03-27 Thread Lizette Koehler
:20 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Clist character string compare Hi I cann't seem to get equal looking for a character string in the input file I know that the job card is somewhere in the middle of the file So here is the code A1: GETFILE INPUT SET JOBCARD = STR(SUBSTR

Re: Clist character string compare

2014-03-27 Thread Micheal Butz
Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Micheal Butz Sent: Thursday, March 27, 2014 6:20 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Clist character string compare Hi I cann't seem to get equal looking for a character string in the input file I know

Re: Clist character string compare

2014-03-27 Thread CM Poncelet
Have you tried coding: SET JOBCARD = STR(SUBSTR(2:10,NRSTR(INPUT)))? BTW Are you also sure that '//JOBCARD' starts in column 2 (i.e. at offset 1)? Otherwise change your code to something like: A1: GETFILE INPUT SET B= SYSINDEX(STR(//JOBCARD),NRSTR(INPUT),1) IF B 0 THEN DO SET JOBCARD =

Re: Clist character string compare

2014-03-27 Thread Skip Robinson
SHARE MVS Program Co-Manager 626-302-7535 Office 323-715-0595 Mobile jo.skip.robin...@sce.com From: CM Poncelet ponce...@bcs.org.uk To: IBM-MAIN@LISTSERV.UA.EDU, Date: 03/27/2014 06:50 PM Subject:Re: Clist character string compare Sent by:IBM Mainframe Discussion List IBM