The drill is first do a scan, then a parse. If you're using TEST[AUTH] CP, then 
you are prompted for a complete command and that's what you should enter. The 
fact that you provided a member name doesn't change that. So

TEST MYPDS(FOO) CP
FOO 666 ASID(1)
...


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Joseph Reichman [reichman...@gmail.com]
Sent: Wednesday, April 26, 2023 10:30 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: IKJPARS PCL/Parameters

Thanks that worked

So if I developing a subcommand for TEST/TESTAUTH

For example LA ( list authorized ) to list storage not normally accessible by 
the list  subcommand

The INBUF pointer from TCOMTAB

would it have the LA sub command string or only
12345688 ASID(11)

Thanks

> On Apr 26, 2023, at 10:13 AM, Bill Godfrey <bgodfrey...@gmail.com> wrote:
>
> Are you entering the string in response to this prompt?
> IKJ57090A ENTER COMMAND FOR CP
>
> If so, the first thing you enter on the line is treated
> as the name of a command, not an operand, and
> the operands begin with the second thing on the line.
> Try entering something like this instead:
>
> foo 12345688 ASID(14)
>
> It doesn't matter what the command name is, as long as
> it is a simple alphanumeric string.
>
>> On Tue, 25 Apr 2023 19:52:54 -0400, Joseph Reichman wrote:
>>
>> I have a PCL defined as such
>>
>> LISTAPCL IKJPARM
>>
>> ADDR1 IKJIDENT 'ADDRESS..',RANGE,UPPERCASE,MAXLNTH=17,FIRST=ANY,OTHER=AX
>>
>>               NY,VALIDCK=LSTVALAD
>>
>>
>>
>> What I would like it to be is a string which I treat as an address. I don't
>> use the ADDRESS key word because I want the ability to enter a 64 bit
>> address or up to 16 characters
>>
>>
>>
>> I have number of keywords after this one them being ASID
>>
>>
>>
>> When I enter the following string at the TSO terminal
>>
>>
>>
>> 12345688 ASID(14)
>>
>>
>>
>>
>>
>> IKJPARS total ignores the string 12345688 and LSTVALDAD validity exit points
>> to the ASID string
>>
>>
>>
>> Don't  understand I thought the 12345688 would match up with the first
>> string entered at the TSO terminal 12345688 but the LSTVALAD points to
>> ASID(14)
>>
>>
>>
>> THANKS
>>
>>
>
> ----------------------------------------------------------------------
> 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