Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Assembly 370 > Re: deconcatina...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 7 of 8 Topic 242 of 328
Post > Topic >>

Re: deconcatination of data sets

by woodag@[EMAIL PROTECTED] (Andy Wood) May 10, 2005 at 03:19 AM

"JB" <Joerg.Brehe@[EMAIL PROTECTED]
> wrote:

>Now I have used SVC99 (ALLOC) only with the DSNAME's from RDJFCB
>(Information Retrieval) and a create a new DDNAME for every DSNAME.
>SVC99 gives no error. After this I try to open my DCB with OPEN instead
>of openj. No error. While using EXCP I get an Error 0C4/4 from outside
>of my programm. I think the CVT.
>
>
>
>**snip***
>GET the  STORAGE for the DCB's
>       SR     R0,R0
>       LH     R0,NORTRVD      GET NUMBER OF DATASETS
>       LR     R3,R0           SAVE NUMBER OF VOLS
>       MH     R0,=Y(RECINLN) MULT BY EXCP DCB LENGTH
>       STORAGE OBTAIN,LENGTH=(R0),LOC=(BELOW,ANY),
>ADDR=DCBADDRL
>       LR     R4,R1           POINT TO AREA FOR FIRST DCB
>       XC     IDTDCBA,IDTDCBA
>       ST     R4,IDTDCBA      SAVE PTR TO FIRST DCB
>
>**snip***
>After this I put the the new DDName in my DCB.
>
>         L      R5,JFCBADDR  point to storage of JFCBS
>OPENLO1  MVC    0(RECINLN,R4),RECIN  BUILD A DCB
>         MVC    40(8,R4),44(R5)      MOVE DDNAME TO DCB
>         LA     R5,176(,R5)          POINT TO NEXT JFCB
>         OPEN   ((R4),INPUT)
>LTR    R15,R15                                               BNZ
>FEHLER                                                LA
>R4,RECINLN(,R4)   POINT TO NEXT DCB
>After this I try to set the DCBDEBAD for the CVT
>
>      L     R0,TTR
>      XR    R1,R1
>      L     R1,IDTDCBA+44     IDTDCBA is the address of the current DCB

From what you are doing elsewhere, it looks like IDTDCBA is a four
byte field containing the DCB address. So you are not going to get the
DEB address at IDTDCBA+44.
Something like 
        L     R1,IDTDCBA
        L     R1,44(,R1)
would make more sense.

However, if it was up to me, I would ensure the high byte of the DEB
address was clean, although it probably does not matter if you are
running AMODE 24. I would also use the available dsects for DCB, JFCB,
CVT etc instead of all those hard coded offsets and lengths.

Andy Wood
woodag@[EMAIL PROTECTED]

 




 8 Posts in Topic:
deconcatination of data sets
Joerg.Brehe@[EMAIL PROTEC  2005-04-29 03:48:35 
Re: deconcatination of data sets
Jerry Peters <jerry@[E  2005-04-29 21:01:46 
Re: deconcatination of data sets
Sam Siegel <sbs1259_NO  2005-05-02 20:22:32 
Re: deconcatination of data sets
"JB" <Joerg.  2005-05-04 01:15:28 
Re: deconcatination of data sets
Sam Siegel <sbs1259_NO  2005-05-05 18:51:08 
Re: deconcatination of data sets
"JB" <Joerg.  2005-05-09 08:36:14 
Re: deconcatination of data sets
woodag@[EMAIL PROTECTED]   2005-05-10 03:19:02 
Re: deconcatination of data sets
glen herrmannsfeldt <g  2005-05-09 22:18:19 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 2:27:10 CDT 2008.