On Sat, 6 Jan 2024 04:06:59 -0600, Willy Jensen
wrote:
>"PROF NOPREFIX works but can leave you that setting when you don't want it on
>termination."
PROF NOPREFIX should never be used especially if you can't figure out quoting.
You are potentially creating problems for others working on your
"PROF NOPREFIX works but can leave you that setting when you don't want it on
termination."
Do check if it is already off before you change it, and if so dont set it on
afterwards. Also remember that the prefix is not neccessarily the user id, so
you need something like the following to preserve
Quoted strings always gave me grief. I started to use Q='7D'X and
concatenate my strings this way:
Str = Q||DsNAme||Q.
LISTDSI(Str)
PROF NOPREFIX works but can leave you that setting when you don't want it
on termination.
On Sat, Jan 6, 2024 at 8:00 AM Willy Jensen
wrote:
> > . .
> >Unquote: r
> . .
>Unquote: return strip(space(translate(arg(1)," ","'")))
>
>Isn't that a verbose equivalent of:
>return strip( arg( 1 ), 'Both', )
Not exactly, the Unquote also removes spaces between the quote and the text. It
has
On Fri, 5 Jan 2024 03:06:10 -0600, Willy Jensen wrote:
>or requote as a function, I think it looks nicer
>
> cc=Listdsi(requote(ds))
> . .
>Unquote: return strip(space(translate(arg(1)
or requote as a function, I think it looks nicer
cc=Listdsi(requote(ds))
. .
Unquote: return strip(space(translate(arg(1)," ","'")))
Requote: if arg(1)='' then return
Instead of changing the TSO profile, I usually remove quotes using a function
like so:
cc=Listdsi("'"unquote(ds)"'")
. .
Unquote: return strip(space(translate(arg(1)," ","'")))
---
Everyone,
I so appreciate everyone's prompt feedback on my challenge. I ended up using
ITschak Mugzach solution by turning off TSO profile prefix
and removing quotation marks from my input file. I am now good to go. Again
really appreciate the prompt response!
Steve Estle
sest...@gmail.com
On Thu, 4 Jan 2024 13:55:22 -0600, Steve Estle wrote:
>I've hardcoded the enclosing double quote/quote inside my file as follows:
>"'SYS1.PARMLIB'"
That's the problem. When your exec that works correctly does this:
> DSName = "'SYS1.PARMLIB'"
the doubl
On Thu, 4 Jan 2024 14:07:20 -0600, Steve Estle wrote:
>It fails on this instruction in 2nd scenario:
>
>x = LISTDSI(dsn)
>
What is the failure message?
--
gil
--
For IBM-MAIN subscribe / signoff / archive access instructions,
On Thu, 4 Jan 2024 13:55:22 -0600, Steve Estle wrote:
>
>I'm sure I'm doing something boneheaded but can't quite figure out what. I
>have a list of fully qualified datasets in a file that I want to read the
>dataset names once per record and then once I've read the record with dataset
>name th
יִשְׂרָאֵל חַי
נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר
From: IBM Mainframe Discussion List on behalf of
Steve Estle
Sent: Thursday, January 4, 2024 2:55 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: LISTDSI - hardcoded dsn vs. read in from file
All,
I'm sur
It fails on this instruction in 2nd scenario:
x = LISTDSI(dsn)
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Simply remove the quote and double quotes from your input file and add
address tso prof nopref
The list Sai sees two set of quotes instead of one at a maximum. You can
try Dan=translate(dsn,' ','"') before the list Sai command
*| **Itschak Mugzach | Director | SecuriTeam Software **|** IronSphere
Which instruction fails?
Do TRACE on the whole routine.
On Thu, 4 Jan 2024 13:55:22 -0600 Steve Estle wrote:
:>All,
:>
:>I'm sure I'm doing something boneheaded but can't quite figure out what. I
have a list of fully qualified datasets in a file that I want to read the
dataset names once per
All,
I'm sure I'm doing something boneheaded but can't quite figure out what. I
have a list of fully qualified datasets in a file that I want to read the
dataset names once per record and then once I've read the record with dataset
name then use that name in a LISTDSI command. When I hard cod
16 matches
Mail list logo