home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
database
/
chrchpr4.zip
/
MCNAMESC.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1987-01-06
|
4KB
|
144 lines
* Program MCNAMESC - Allows entering/scanning/changing names in the MDIRFILE
Erase
@ 1,10 say ' EDITING STANDARD CHURCH PARAMETERS 8-4-/MCNAMESC'
Clear
Use mdirfile index mdirfile
GOTO 1
Store $(spact,4,27) to MD1
SKIP
Store $(SPACT,21,1) to MD2
SKIP
Store $(spact,28,4) to MD3A
SKIP
Store $(spact,3,29) to MD3B
Store MD3B+' '+MD3A to MD3
SKIP
Store $(spact,3,29) to MD3A
SKIP
Store $(spact,3,29) to MD3B
SKIP
Store $(spact,3,29) to MD3C
SKIP
Store $(spact,3,29) to MD3D
SKIP
Store $(spact,3,29) to MD3E
SKIP
Store $(spact,3,29) to MD3F
SKIP
Store $(spact,3,29) to MD3G
SKIP
STORE $(SPACT,3,29) TO MD3H
SKIP
STORE $(SPACT,3,29) TO MD3I
SKIP
STORE $(SPACT,3,29) TO MD3J
SKIP
STORE $(SPACT,3,29) TO MD3K
SKIP
STORE $(SPACT,3,29) TO MD3L
GOTO 17
Store $(spact,29,3) to MD13
SKIP
Store $(spact,13,18) to MD8
SKIP
Store $(spact,28,2) to MD4
SKIP
STORE $(SPACT,28,2) TO MD5
SKIP
Store $(spact,28,2) to MD6
SKIP
Store $(spact,29,2) to MD7
SKIP
STORE $(SPACT,16,2) TO MD9
SKIP
STORE $(SPACT,26,3) TO MD10
SKIP
STORE $(SPACT,12,3) TO MD11
SKIP
Store $(spact,26,3) to MD12
@ 2,0 say 'Church name: ' get MD1
@ 3,0 say 'Disk I.D. containing data files ' get MD2
@ 4,0 SAY "MAILING LABELS SPACING " GET MD4
@ 4,40 SAY "MAILING LABELS, LINES PER PAGE " GET MD5
@ 5,0 SAY "MAILING LABELS, 1ST COLUMN " GET MD6
@ 5,40 SAY "-- 2ND COLUMN " GET MD7
@ 6,0 SAY 'FAMILY ADDRESS UPDATING? ' GET MD13
@ 7,0 SAY "PRINTER SET-UP SPECIAL (ASCII) CHARACTERS " GET MD8
@ 8,0 SAY "Voting Age " get MD9
@ 8,40 say "New Letter Separator? " get MD10
@ 9,0 SAY 'Zone marking? ' get MD11
@ 9,40 say 'Use 9-digit ZIP? ' get MD12
@ 10,0 say 'Dates format: MM/D1 MM/D2 MM/D3 MM/D4 MM/D5 YYYY'
@ 11,0 say "This month's dates " get MD3
@ 12,0 say "This year's dates " get MD3A
@ 13,20 get MD3B
@ 14,20 get MD3C
@ 15,20 get MD3D
@ 16,20 get MD3E
@ 17,20 get MD3F
@ 18,20 get MD3G
@ 19,20 get MD3H
@ 20,20 get MD3I
@ 21,20 get MD3J
@ 22,20 get MD3K
@ 23,20 get MD3L
READ
?
Accept ' SAVE? ' to MDX
If !(MDX)='Y'
GOTO 1
Replace spact with $(spact,1,3)+MD1
SKIP
Replace spact with $(SPACT,1,20)+MD2
SKIP
REPLACE spact with $(spact,1,27)+$(MD3,31,4)
SKIP
Replace spact with $(spact,1,2)+$(MD3,1,29)
SKIP
Replace spact with ' E'+MD3A
SKIP
Replace spact with ' F'+MD3B
SKIP
Replace spact with ' G'+MD3C
SKIP
Replace spact with ' H'+MD3D
SKIP
Replace spact with ' I'+MD3E
SKIP
Replace spact with ' J'+MD3F
SKIP
Replace spact with ' K'+MD3G
SKIP
Replace spact with ' L'+MD3H
SKIP
Replace spact with ' M'+MD3I
SKIP
Replace spact with ' N'+MD3J
SKIP
Replace spact with ' O'+MD3K
SKIP
Replace spact with ' P'+MD3L
GOTO 17
REPLACE SPACT WITH $(SPACT,1,28)+MD13
SKIP
Replace spact with $(spact,1,12)+MD8
SKIP
Replace spact with $(spact,1,27)+MD4
SKIP
Replace spact with $(spact,1,27)+MD5
SKIP
Replace spact with $(spact,1,27)+MD6
SKIP
Replace spact with $(spact,1,28)+MD7
SKIP
Replace spact with $(spact,1,15)+MD9
SKIP
Replace spact with $(spact,1,25)+MD10
SKIP
Replace spact with $(spact,1,11)+MD11
SKIP
Replace spact with $(spact,1,25)+MD12
endif
USE
RETURN