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: BDAM + EXCP
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 3 Topic 236 of 328
Post > Topic >>

Re: BDAM + EXCP

by Joerg.Brehe@[EMAIL PROTECTED] (j?rg brehe) Apr 18, 2005 at 02:04 AM

glen herrmannsfeldt <gah@[EMAIL PROTECTED]
> wrote in message
news:<4sydnY2MhZJElv3fRVn-ig@[EMAIL PROTECTED]
>...
> j?rg brehe wrote:
> 
> > I have a little problem with EXCP and BDAM
> > 
> > My programm follows the logic
> > 
> >          BAS   R6,OPENFLS        open files
> >          BAS   R6,TRKCALC1                                   
> >          XR    R0,R0                                         
> >          ST    R0,TTTR
> > NEXTRK   SLR   R10,R10           COUNT                       
> >          BAS   R6,DOEXCP     <-- READ A TRACK                
> >          SLR   R4,R4                                         
> > NEXTREC  BAS   R6,GETREC         deblock a track
> 
> (snip)
> 
> For what I know of BDAM, for example what Fortran uses for direct
> access files, it is unblocked.   That is, it should be RECFM=F, not FB.
> 
> Now, BDAM doesn't care about the contents of the record/block and if
> you want to divide it up outside BDAM that is different.
> 
> -- glen

As I say. If i set the right track in the beginning like


          LA    R0,X'0003'     ****for example         
          AH    R0,TTTR        ****TEST          
          STH   R0,TTTR        ****TEST          
 NEXTRK   SLR   R10,R10           COUNT          
          BAS   R6,DOEXCP     <-- READ A TRACK   
          SLR   R4,R4                            
 NEXTREC  BAS   R6,GETREC  

I get the right track, and in the buffer  is the full track.
If i loop through the tracks, the first track (here track 3) is full
and the deblocking goes on. The next track only covers the first
record and then it's like an out of extension.

jörg
 




 3 Posts in Topic:
BDAM + EXCP
Joerg.Brehe@[EMAIL PROTEC  2005-04-15 08:36:16 
Re: BDAM + EXCP
glen herrmannsfeldt <g  2005-04-15 11:46:02 
Re: BDAM + EXCP
Joerg.Brehe@[EMAIL PROTEC  2005-04-18 02:04:38 

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:52:55 CDT 2008.