source: FOIAVistA/trunk/r/VA_FILEMAN-ARJT-DI-DD-DM-DT-%DT-%RCR/DICRW1.m@ 1681

Last change on this file since 1681 was 628, checked in by George Lilly, 15 years ago

initial load of FOIAVistA 6/30/08 version

File size: 573 bytes
Line 
1DICRW1 ;SFISC/XAK-SELECT A FILE ;1/30/91 4:18 PM
2 ;;22.0;VA FileMan;;Mar 30, 1999
3 ;Per VHA Directive 10-93-142, this routine should not be modified.
4L ;LIST DD'S
5 S DIB(1)=0 S D=" START WITH" D C2 G C4:U[X&(Y<0),L:Y<0
6C3 S D=" GO TO" D C2 G C3:Y<0&(X'[U)
7 I Y<DIB(1),X'[U W $C(7),!," The 'START WITH' File Number must be less than the 'GO TO' File Number." G L
8C4 I X[U!'$D(DIC) K DIC Q
9 S X=DIB(1),DIB(1)=+Y,Y=X Q
10C2 D R1^DICRW D:$D(DDUC) DU S DIC(0)="QEI" D DIC^DICRW K DIAC,DIFILE Q:X[U!'$D(DIC)!(Y=-1) S:DIB(1)=0 DIB(1)=+Y Q
11DU S DIC("S")="I Y'<2 "_DIC("S")
12 Q
Note: See TracBrowser for help on using the repository browser.