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 6 of 8 Topic 242 of 328
Post > Topic >>

Re: deconcatination of data sets

by "JB" <Joerg.Brehe@[EMAIL PROTECTED] > May 9, 2005 at 08:36 AM

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
**here must be some wrong
      LA    R2,MBBCCHHR
      STM   R8,R13,20(R13)
      LR    R8,R13
      L     R15,16
      L     R15,28(,R15)
      BALR  R14,R15
      LM    R8,R13,20(R8)
      LTR   R15,R15
      BNZ   ENDE
      XC    IOBECB,IOBECB
      EXCP  IOB
      WAIT  1,ECB=IOBECB
**snip**

      L     R4,IDTDCBA
      LA    R4,RECINLN(,R4)   POINT TO NEXT DCB
      ST    R4,IDTDCBA

I think the DEB-Address is wrong. I can't find any information of RECFM
in my DCB's after open. I think I have lost some Information. Where get
I the DEB address? What can I do?

                          
> > 
> > regards
> > J?rg
 




 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 Thu Jul 24 0:56:15 CDT 2008.