Not sure if this is your problem, but as shown, your X'8000000'
constant doesn't have enough zeros.  (It should be X'80000000'.)


At 11:45 PM 3/12/2007, Steve Comstock wrote:
  
>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.



==================================================
Art Celestini       Celestini Development Services
Phone: 201-670-1674                    Wyckoff, NJ
=============  http://celestini.com  =============
Mail sent to the "From" address  used in this post
will be rejected by our server.   Please send off-
list email to:  ibmmain<at-sign>celestini<dot>com.
==================================================

----------------------------------------------------------------------
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