FFFFFFEC = -20.  -20 will quickly get you to the fact that the parameter
should be a null-terminated string rather than an MVS-style PARM= value.

Bob

MVS OpenEdition <[EMAIL PROTECTED]> wrote on 03/12/2007 11:45:43 PM:

> OK, so I'm writing this CGI in Assembler to access
> a VSAM file [seemed like a fun thing to do]. The
> program is reentrant and LE-conforming.
>
> To allocate the file, I want to call BPXWDYN, but
> I'm having all kinds of troubles.
>
> You can't really CALL, you should LINK. So, I set the
> parm up as R1 --> a(alloc)+x'8000000'
>
> where alloc is
>
> alloc    ds  0cl62
>           dc  h'60'
>           dc  cl60'alloc dd(meals) dsn(stnt329.train.meals) shr reuse'
>
> then I
>
>         LINK  EP=BPXWDYN
>
> but I get, in R15: FFFFFFEC which is -21 decimal
> The doc says this is a "key error" (it uses this
> term "key" a lot and never defines it, I notice),
> for the first "key". But it looks good to me.
>
> [I've also tried it all upper case; I've also tried
> it double-quoted inside the single quotes, both
> upper-case and lower-case; always this result.]
>
> Anyone have any hints, suggestions, solutions?
>
> TIA for any help.
>
> Kind regards,
>
>
> -Steve Comstock
> The Trainer's Friend, Inc.
>
> 303-393-8716
> http://www.trainersfriend.com
>
> -- to be included in our opt-in list of announcements of
> -- new courses and other products and services from The
> -- Trainer's Friend, send an email to [EMAIL PROTECTED]
> 
>
> ----------------------------------------------------------------------
> For MVS-OE subscribe / signoff / archive access instructions,
> send email to [EMAIL PROTECTED] with the message: INFO MVS-OE

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to