home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
database
/
chrchpr4.zip
/
FCREPT1.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1987-01-06
|
2KB
|
65 lines
* Program FCREPT1 - Prints a full-information report of everyone in MEMBERS.
USE &MFILE
If ANAME1<>'ALL'
FIND &ANAME1
ENDIF
Store T to BEGINNG
Store F to invaldd
Store 0 to pagenum
Store 61 to curline
Store $(date(),1,2)+$(date(),7,2) to indate
If len(cname)<44
Store ' '+cname to cname
endif
?
? 'Generating Full Information Report ',curdate
Set format to print
Do while .not. EOF .and. &ANAME=ANAME1
If curline > 60
If .not. BEGINNG
EJECT
endif
Store pagenum+1 to pagenum
@ 1,1 say CNAME
@ 1,55 say curdate+' Page'+str(pagenum,4)
store 4 to curline
endif
If .not. BEGINNG
Store trim(last:name)+', '+trim(first:name) to names
store trim(address)+', '+trim(city:state) to addrs
Store ' ' to mbx
If !(membstatus) = 'Y'
Store '-' to mbx
else
If $(dates,1,4) = indate
store '`' to mbx
endif
endif
@ curline,0 say familycode
@ curline,10 say 'SC:'+SS:SC:MEMB+$(teach:SSSC,1,3)
@ curline,22 say mbx+names
@ curline,55 say 'TEL:'+home:phone+work:phone
@ curline+1,1 say 'MEMB:'+MEMBSTATUS
Store str(offeringen,4) to offr
@ curline+1,16 say 'E#'+offr
@ curline+1,24 say addrs+' '+zip+zone
@ curline+2,1 say 'ACTY:'+sp:activty
@ curline+2,28 say 'OTHER: '+other
@ curline+2,60 say dates
@ curline+3,0 say str(#,4)
@ curline+3,7 say 'I/A:'+SKILLS
@ curline+3,44 say 'BD:'+birthdate+spec:dates
@ curline+4,60 say comments
Store curline+5 to curline
SKIP
endif
Store F to BEGINNG
Do while .not. EOF .and. (* .or. &BNAME)
SKIP
enddo
enddo
EJECT
Set format to screen
RETURN
1283,1283 Baker Karen BAKK0022M866-6332 2345 Berea Dr. Thriving City, MN 55555 05/22/57- Y * 2 C28 * ACH, BS, BSG=002, 1283,1283