home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
viscobv7.zip
/
vac22os2
/
ibmcobol
/
macros
/
evfpprs.dat
< prev
next >
Wrap
Text File
|
1998-02-24
|
52KB
|
847 lines
*******************************************************************************
* Config file for PL/I files
*******************************************************************************
*
*
*
* The basic format is:
* A line starting with '*' is a comment
* Other lines have the layout
* - optional leading blanks
* - comma separated list of keyword names (spaces are allowed
* round the commas ie keyword1 , keyword2 is ok.)
* Case is irrelevant.
* - at least one space
* - Help token. Must be acceptable to the VIEW command and appear in the approriate .ndx file,
* or an '*' which tells the parser there is no help id for it to use.
* - One of a list of tokens which tell the parser what kind of
* token this is. These ARE case sensitive.
* . ATU - Attribute unqualified, Ie you CANNOT put anything
* in parentheses after it. Eg ALIGNED
* . ATQ - Attribute qualified, Ie you CAN put somthing
* in parentheses after it. Eg FIXED(3) or INIT(...)
* . FLO - A statement keyword which can influence flow of control.
* Eg PROC, CALL, IF
* . BIF - A builtin function name
* . TYF - A type function name (has args enclosed in (: and :) )
* . CON - A condition name
* . SOP - A statement option keyword
* Eg INTO, SET
* . OPT - A word which may appear in a compiler option.
* Eg OPTIMIZE, MAX
* . OPS - A word which may appear in an OPTIONS option.
* Eg ASSEMBLER
* . ENV - A word which may appear in an ENVIRONMENT attribute
* Eg TOTAL
* . T0 - A pseudo statement keyword. Used to allow a statement
* keyword to be in the file for look-up purposes
* . T1 - A 'type 1' statement keyword. The type of statement
* which takes only options and parentheses
* Eg READ FILE(..) INTO(..) ;
* . T2 - A 'type 2' statement keyword. The type of statement
* which takes an identifier or an expression as its first
* item. Eg ALLOCATE x SET(..) ;
* also used to encompass 'anything not a type 1'
* . PPS - It's to do with preprocessing EXCLUSIVLY. However a lot of the preprocessor words
* appear in here as if they were ordinary statements. This is becuase they can be
* used as if they were ordinary statements in the construction of a preprocessor
* procedure.
* , EXEC - It is a word which appears in EXEC 'somthing'
* . * - Which tells the parser that this line is just a placeholder
* to allow specification of a resource id.
*
* despite this apparent sophistication there are lots of things which
* are recognised by the code of the program. They are in the file for
* completeness.
*
*
* - An auto indentation value. The value is either a signed number
* or an '*'. '*' says that this token does not participate in auto indentation.
*
* - An auto indentation default value. Same as the auto indentation value except used
* in the dialogue to reset default values.
*
* - A list of, comma separated LANGUAGE Level tokens for which this token is valid,
* or an '*'. '*' says that this this line is just a placeholder
* to allow specification of a resource id.
* Valid values are:
*
* . SAA
* . SAA2
* . OS
*
* - An optional comment which MUST be introduced by the ';' character.
*
*---------------------
* COMPILER OPTIONS
*---------------------
*
*As published in:
* "IBM PL/I Programming Guide", V1R1
*
*
*OPTION help token
*
aggregate,ag aggregate OPT * * SAA,SAA2,OS
attributes,a,full,short attributes OPT * * SAA,SAA2,OS
cmpat,v1,v2 SADDAY OPT * * OS
compile,c,w,e,s compile OPT * * SAA,SAA2,OS
control SADDAY OPT * * OS
*count * OPT * * SAA,SAA2,OS
deck,d,nodeck,nd SADDAY OPT * * OS
default,dft,ibm,ans,ascii,ebcdic,assignable,asgn,nonassignable,nonasgn defaultopt OPT * * SAA,SAA2
byaddr,byvalue,nonconnected,nonconn,connected,conn,native,nonnative default OPT * * SAA,SAA2
descriptor,nodescriptor default OPT * * SAA,SAA2
nodirected,directed,asm,cobol,plitdli,noinline,inline,order,reorder default OPT * * SAA,SAA2
linkage,optlink,system,ieee,hexadec default OPT * * SAA,SAA2
esd SADDAY OPT * * OS
exit,noexit exitopt OPT * * SAA,SAA2
flag,f,i flag OPT * * SAA,SAA2,OS
gonumber,gn gonumber OPT * * SAA,SAA2,OS
gostmt,gs SADDAY OPT * * OS
graphic,gr graphicopt OPT * * OS
imprecise,imp imprecise OPT * * SAA,SAA2,OS
include,inc include OPT * * SAA,SAA2,OS
ext ext OPT * * SAA,SAA2
insource,is insource OPT * * SAA,SAA2,OS
interrupt,int interrupt OPT * * SAA,SAA2,OS
langlvl,os langlvl OPT * * SAA,SAA2,OS
sprog,nosprog SADDAY OPT * * SAA,SAA2,OS ; they need to be allowed at all language levels
saa,saa2,os2,noext saa OPT * * SAA,SAA2,OS ; as they change to another language level
libs,nolibs libs OPT * * SAA,SAA2
limits,extname,fixeddec limits OPT * * SAA,SAA2
linecount,lc linecount OPT * * SAA,SAA2,OS
list,nolist list OPT * * SAA,SAA2,OS
lmessage,lmsg SADDAY OPT * * OS
smessage,smsg SADDAY OPT * * OS
macro,m,nomacro,nm macro OPT * * SAA,SAA2,OS
map,nomap SADDAY OPT * * OS
margini,mi margini OPT * * SAA,SAA2,OS
nomargini,nmi margini OPT * * OS
margins,mar margins OPT * * SAA,SAA2,OS
mdeck,md,nomdeck,nmd mdeck OPT * * SAA,SAA2,OS
name,n SADDAY OPT * * OS
names names OPT * * SAA,SAA2
natlang,enu,jpn natlang OPT * * SAA,SAA2
nest,nonest nest OPT * * SAA,SAA2,OS
noaggregate,nag noaggregate OPT * * SAA,SAA2,OS
noattributes,na noattributes OPT * * SAA,SAA2,OS
nocompile,nc nocompile OPT * * SAA,SAA2,OS
noesd SADDAY OPT * * OS
nogonumber,ngn nogonumber OPT * * SAA,SAA2,OS
nogostmt,ngs SADDAY OPT * * OS
nographic,ngr nographic OPT * * OS
noimprecise,nimp noimprecise OPT * * SAA,SAA2,OS
noinclude,ninc noinclude OPT * * SAA,SAA2,OS
noinsource,nis noinsource OPT * * SAA,SAA2,OS
nointerrupt,nint nointerrupt OPT * * SAA,SAA2,OS
nonumber,nonum SADDAY OPT * * OS
nooffset,nof SADDAY OPT * * OS
nosequence,nseq SADDAY OPT * * OS
not not OPT * * SAA,SAA2,OS
number,num SADDAY OPT * * OS
object,obj,noobject,nobj SADDAY OPT * * OS
offset,of SADDAY OPT * * OS
optimize,opt,time,0,2 optimize OPT * * SAA,SAA2,OS
nooptimize,nopt nooptimize OPT * * SAA,SAA2,OS
options,op,nooptions,nop optionsopt OPT * * SAA,SAA2,OS
or or OPT * * SAA,SAA2,OS
pp,nopp pp OPT * * SAA,SAA2
prefix prefix OPT * * SAA,SAA2
probe,noprobe probe OPT * * SAA,SAA2
proceed,pro,noproceed,nopro proceed OPT * * SAA,SAA2
rules,nolaxdcl,laxdcl rules OPT * * SAA,SAA2
nolaxif,laxif rules OPT * * SAA,SAA2
runops,norunops runops OPT * * SAA,SAA2
semantic,sem,nosemantic,nosem semantics OPT * * SAA,SAA2
sequence,seq SADDAY OPT * * OS
size,sz,max SADDAY OPT * * OS
snap,nosnap snap OPT * * SAA,SAA2
source,s,nosource,ns source OPT * * SAA,SAA2,OS
stmt,nostmt SADDAY OPT * * OS
storage,stg,nostorage,nstg SADDAY OPT * * OS
syntax,syn,nosyntax,nsyn syntax OPT * * SAA,SAA2,OS
sysparm sysparm OPT * * SAA,SAA2
system,cms,cmstpl,mvs,tso,cics,ims system OPT * * OS
system,os2,ims,cms,mvs,tso,s386,s486,pentium system OPT * * SAA,SAA2
terminal,term,noterminal,nterm terminal OPT * * SAA,SAA2,OS
test,notest,all,block,none,path,stmt,sym,nosym test OPT * * SAA,SAA2,OS
xinfo,def,nodef xinfo OPT * * SAA,SAA2
xref,x,noxref,nx xref OPT * * SAA,SAA2,OS
*
*-----------------------------
*SAA2 SOURCE LANGUAGE KEYWORDS
*-----------------------------
*
*As published in:
* "IBM PL/I Language Reference", V1R1
*
*
*KEYWORD helptoken TYPE AI
*
abnormal abnormal ATU * * SAA2 ; non-data attribute -
addbuff SADDAY ENV * * OS ; environment option
alias alias ATU * * SAA2 ; non-data attribute
aligned aligned ATU * * SAA,SAA2,OS ; descriptive attribute
all SADDAY SOP * * OS ; stream i/o option
allocate,alloc allocate T2 * * SAA,SAA2,OS ; statement keyword
anycondition,anycond anycondition CON * * SAA2 ; condition
area area1 ATQ * * SAA,SAA2,OS ; data attribute
area area2 CON * * SAA,SAA2,OS ; condition
ascii SADDAY ENV * * OS ; environment option
assembler,asm assembler OPS * * SAA2,OS ; options option ----
assignable,asgn assignable ATU * * SAA2 ; non-data attribute
nonassignable,nonasgn nonassignable ATU * * SAA2 ; non-data attribute
attach attach FLO * * SAA2 ; statement keyword
attention,attn attention CON * * SAA,SAA2,OS ; condition name
automatic,auto automatic ATU * * SAA,SAA2,OS ; non-data attribute
backward SADDAY ATU * * OS ; non-data attribute
based based ATQ * * SAA,SAA2,OS ; non-data attribute
begin begin FLO 3 3 SAA,SAA2,OS ; statement keyword
binary,bin binary ATQ * * SAA,SAA2,OS ; data attribute
bit bit ATQ * * SAA,SAA2,OS ; data attribute
bkwd bkwd ENV * * SAA,SAA2,OS ; environment option
blksize SADDAY ENV ** OS ; environment option
buffered,buf buffered ATU * * SAA,SAA2,OS ; non-data attribute
buffers SADDAY ENV * * OS ; environment option
buffoff SADDAY ENV * * OS ; environment option
bufnd SADDAY ENV * * OS ; environment option
bufni SADDAY ENV * * OS ; environment option
bufsp SADDAY ENV * * OS ; environment option
builtin builtin ATU * * SAA,SAA2,OS ; non-data attribute
by by SOP * * SAA,SAA2,OS ; do statement keyword
byaddr byaddr1 ATU * * SAA,SAA2 ; non-data attribute
byaddr byaddr2 OPS * * SAA,SAA2 ; options option
byvalue byvalue1 ATU * * SAA,SAA2 ; non-data attribute
byvalue byvalue2 OPS * * SAA,SAA2 ; options option
call call FLO * * SAA,SAA2,OS ; statement keyword
cdecl16 cdecl16 OPS * * SAA2 ; attribute keyword
character,char character ATQ * * SAA,SAA2,OS ; data attribute
chargraphic,charg chargraphic1 ATU * * SAA,SAA2,OS ; non data attribute ----
chargraphic,charg chargraphic2 OPS * * SAA,SAA2,OS ; options option ----
cics cics SOP * * SAA,SAA2,OS ; statement option
close close T1 * * SAA,SAA2,OS ; statement keyword
cobol cobol OPS * * SAA2,OS ; options option ----
cobol SADDAY ENV * * OS ; environment option
consecutive consecutive ENV * * SAA,SAA2,OS ; environment option
column,col column1 SOP * * SAA2 ; preprocessor stmt option or stream I/O option
complex,cplx complex ATQ * * SAA,SAA2,OS ; data attribute
condition,cond condition1 ATU * * SAA,SAA2,OS ; non-data attribute
condition,cond condition2 CON * * SAA,SAA2,OS ; non-data attribute --
connected,conn connected ATU * * SAA,SAA2,OS ; descriptive attribute
constant constant * * * SAA,SAA2,OS ; non-data attribute ---- not allowed in source code - used as a tag RH
controlled,ctl controlled ATU * * SAA,SAA2,OS ; non-data attribute
conversion,conv conversion CON * * SAA,SAA2,OS ; condition name/prefix
copy copy SOP * * SAA,SAA2,OS ; stream i/o option
ctlasa ctlasa ENV * * SAA,SAA2,OS ; environment option
ctl360 SADDAY ENV * * OS ; environment option
d,db SADDAY ENV * * OS ; environment option
data data SOP * * SAA,SAA2,OS ; stream i/o option
decimal,dec decimal ATQ * * SAA,SAA2,OS ; data attribute
declare,dcl declare T0 * * SAA,SAA2,OS ; statement keyword
default,dft default T0 * * SAA,SAA2,OS ; statement keyword
define define T0 * * SAA2 ; statement keyword -
defined,def defined ATQ * * SAA,SAA2,OS ; non-data attribute
delay delay T2 * * SAA,SAA2,OS ; statement keyword
delete delete T1 * * SAA,SAA2,OS ; statement keyword
descriptor descriptor OPS * * SAA2 ; attribute keyword
detach detach T1 * * SAA2 ; statement keyword
descriptors SADDAY SOP * * OS ; default statement keyword
dimension,dim dimension ATQ * * SAA2,OS ; data attribute ---- not allowed in source
direct direct ATU * * SAA,SAA2,OS ; non-data attribute
display display T2 * * SAA,SAA2,OS ; statement keyword
do do T0 3 3 SAA,SAA2,OS ; statement keyword
downthru downthru SOP * * SAA2 ; do statement keyword
edit edit SOP * * SAA,SAA2,OS ; stream i/o option
else else T0 3 3 SAA,SAA2,OS ; statement keyword
end end FLO -3 -3 SAA,SAA2,OS ; statement keyword
endfile,endf endfile CON * * SAA,SAA2,OS ; condition name
endpage,endp endpage CON * * SAA,SAA2,OS ; condition name
entry entry1 ATQ * * SAA,SAA2,OS ; data attribute
entry entry2 T0 * * SAA,SAA2,OS ; data attribute
environment,env environment1 ATQ * * SAA,SAA2,OS ; non-data attribute
environment,env environment2 SOP * * SAA,SAA2,OS ; statement option
error error CON * * SAA,SAA2,OS ; condition name
event SADDAY SOP * * OS ; non-data attribute
exclusive SADDAY ATU * * OS ; non-data attribute
exec exec T0 * * SAA,SAA2,OS ; statement keyword
exit exit FLO * * SAA,SAA2,OS ; statement keyword
exports exports ATQ * * SAA2 ; package statement option
external,ext external ATQ * * SAA,SAA2,OS ; non-data attribute
f,fb,fs,fbs SADDAY ENV * * OS ; environment option
fastcall16 fastcall16 OPS * * SAA2 ; attribute keyword
fetch fetch FLO * * SAA,SAA2,OS ; statement keyword
fetchable fetchable OPS * * SAA,SAA2 ; options option
file file1 ATU * * SAA,SAA2,OS ; data attribute
file file2 SOP * * SAA,SAA2,OS ; i/o option
finish finish CON * * SAA,SAA2,OS ; condition name
fixed fixed ATQ * * SAA,SAA2,OS ; data attribute
fixedoverflow,fofl fixedoverflow CON * * SAA,SAA2,OS ; condition name/prefix
float float ATQ * * SAA,SAA2,OS ; data attribute
flow SADDAY SOP * * OS ; stream i/o option
forever forever SOP * * SAA,SAA2,OS ; do statement keyword
format format T0 * * SAA,SAA2,OS ; statement keyword
fortran fortran OPS * * SAA2,OS ; options option ----
free free T2 * * SAA,SAA2,OS ; statement keyword
from from SOP * * SAA,SAA2,OS ; record i/o option
fromalien fromalien OPS * * SAA2 ; attribute keyword
generic generic ATQ * * SAA,SAA2,OS ; non-data attribute
genkey genkey ENV * * SAA,SAA2,OS ; environment option
get get T0 * * SAA,SAA2,OS ; statement keyword
go go T2 * * SAA,SAA2,OS ; statement keyword, the TO is handled by special case code
goto goto T2 * * SAA,SAA2,OS ; statement keyword
graphic,g graphic1 ATQ * * SAA,SAA2,OS ; data attribute
graphic graphic2 ENV * * SAA,SAA2,OS ; environment option
handle handle ATQ * * SAA2 ; non-data attribute
hexadec hexadec ATU * * SAA2 ; data attribute
ieee ieee ATU * * SAA2 ; data attribute
if if T0 3 3 SAA,SAA2,OS ; statement keyword
ignore ignore SOP * * SAA,SAA2,OS ; statement keyword
in in SOP * * SAA,SAA2,OS ; allocate/free option
indexed indexed ENV * * OS ; environment option
indexarea SADDAY ENV * * OS ; environment option
initial,init initial ATQ * * SAA,SAA2,OS ; non-data attribute
input input ATU * * SAA,SAA2,OS ; non-data attribute
inline inline OPS * * SAA2 ; options option ----
inter SADDAY OPS * * OS ; options option ----
internal,int internal ATU * * SAA,SAA2,OS ; non-data attribute
into into SOP * * SAA,SAA2,OS ; record i/o option
invalidop invalidop CON * * SAA2 ; condition prefix
irreducible,irred SADDAY ATU * * SAA, OS ; non-data attribute
irreducible,irred irreducible OPS * * SAA2 ; options keyword
iterate iterate FLO * * SAA2 ; statement keyword
key key1 CON * * SAA,SAA2,OS ; condition
key key2 SOP * * SAA,SAA2,OS ; record i/o option
keyed keyed ATU * * SAA,SAA2,OS ; non-data attribute
keyfrom keyfrom SOP * * SAA,SAA2,OS ; record i/o option
keylength SADDAY ENV * * OS ; environment option
keys keys ATQ * * SAA,SAA2,OS ; preprocessor attribute
keyloc keyloc ENV * * SAA,SAA2,OS ; environment option
keyto keyto SOP * * SAA,SAA2,OS ; record i/o option
label label ATQ * * SAA,SAA2,OS ; data attribute
leave leave T2 * * SAA,SAA2,OS ; statement keyword
leave SADDAY ENV * * OS ; environment option
like like ATQ * * SAA,SAA2,OS ; non-data attribute
limited limited ATU * * SAA2 ; non-data attribute -
line line SOP * * SAA,SAA2,OS ; stream i/o option
linkage linkage OPS * * SAA2 ; attribute keyword
linesize linesize SOP * * SAA,SAA2,OS ; open option
list list SOP * * SAA,SAA2,OS ; stream i/o option
locate locate T2 * * SAA,SAA2,OS ; statement keyword
loop loop SOP * * SAA,SAA2,OS ; do statement keyword
m SADDAY ENV * * OS ; environment option
main main OPS * * SAA,SAA2,OS ; options option
margins,mar margins SOP * * SAA2 ; preprocessor statement option
name name1 SOP * * SAA,SAA2,OS ; the 'name' part of BY NAME
name name2 CON * * SAA,SAA2,OS ; condition name/prefix
native native ATU * * SAA2 ; non-data attribute -
ncp SADDAY ENV * * OS ; environment option
nochargraphic,nocharg SADDAY ATU * * OS ; non data attribute - used to allow appearance on PROC stmt
nochargraphic,nocharg nochargraphic OPS * * SAA,SAA2,OS ; options option ----
noconversion,noconv noconversion CON * * SAA,SAA2,OS ; condition prefix
nodescriptor nodescriptor OPS * * SAA2 ; attribute keyword
noexecops noexecops OPS * * SAA,SAA2,OS ; options option
nofixedoverflow,nofofl nofixedoverflow CON * * SAA,SAA2,OS ; condition prefix
noinline noinline OPS * * SAA2 ; options option ----
noinvalidop invalidop CON * * SAA2 ; condition prefix
nolock SADDAY SOP * * OS ; i/o statement option
nonconnected,nonconn nonconnected ATU * * SAA2 ; data attribute
nonnative nonnative ATU * * SAA2 ; non-data attribute -
nonvarying,nonvar nonvarying ATU * * SAA2 ; data attribute
nooverflow,noofl nooverflow CON * * SAA,SAA2,OS ; condition prefix
norescan norescan1 ATU * * SAA,SAA2,OS ; preprocessor attribute
norescan norescan2 SOP * * SAA,SAA2,OS ; preprocessor statement option
normal normal1 ATU * * SAA2 ; non-data attribute -
normal normal2 ATU * * SAA2 ; non-data attribute -
nosize nosize CON * * SAA,SAA2,OS ; condition prefix
nostringrange,nostrg nostringrange CON * * SAA,SAA2,OS ; condition prefix
nostringsize,nostrz nostringsize CON * * SAA,SAA2,OS ; condition prefix
nosubscriptrange,nosubrg nosubscriptrange CON * * SAA,SAA2,OS ; condition prefix
note note SOP * * SAA,SAA2,OS ; preprocessor statement keyword
nounderflow,noufl nounderflow CON * * SAA,SAA2,OS ; condition prefix
nowrite SADDAY ENV * * OS ; environment option
nozerodivide,nozdiv nozerodivide CON * * SAA,SAA2,OS ; condition prefix
noscan noscan1 ATU * * SAA,SAA2,OS ; preprocessor attribute
noscan noscan2 SOP * * SAA,SAA2,OS ; preprocessor statement option
offset offset ATQ * * SAA,SAA2,OS ; data attribute
on on T0 * * SAA,SAA2,OS ; statement keyword
open open T0 * * SAA,SAA2,OS ; statement keyword
optional optional ATU * * SAA2 ; non-data attribute -
options options ATQ * * SAA,SAA2,OS ; non-data attribute
optlink optlink OPS * * SAA2 ; options option ----
order SADDAY ATU * * OS ; non-data attribute
order order OPS * * SAA2 ; options option ----
ordinal ordinal ATQ * * SAA2 ; non-data attribute
organization organization ENV * * SAA2 ; environment option
otherwise,other other1 T0 3 3 SAA,SAA2,OS ; statement keyword
otherwise,other other2 ATQ * * SAA,SAA2,OS ; option of generic
output output ATU * * SAA,SAA2,OS ; non-data attribute
overflow,ofl overflow CON * * SAA,SAA2,OS ; condition name/prefix
package package T0 3 3 SAA2 ; statement keyword
page page SOP * * SAA,SAA2,OS ; stream i/o option
pagesize pagesize SOP * * SAA,SAA2,OS ; open option
parameter parameter ATU * * SAA2 ; data attribute
pascal16 pascal16 OPS * * SAA2 ; attribute keyword
password SADDAY ENV * * OS ; environment option
pending SADDAY CON * * OS ;
picture,pic picture ATU * * SAA,SAA2,OS ; data attribute
pointer,ptr pointer ATU * * SAA,SAA2,OS ; data attribute
position,pos position ATQ * * SAA,SAA2,OS ; non-data attribute
precision,prec precision ATQ * * SAA2 ; non-data attribute -
print print ATU * * SAA,SAA2,OS ; non-data attribute
priority SADDAY SOP * * OS ;
procedure,proc procedure T0 3 3 SAA,SAA2,OS ; statement keyword
put put T0 * * SAA,SAA2,OS ; statement keyword
r SADDAY ENV * * OS ; environment option
range range SOP * * SAA,SAA2,OS ; default statement keyword
read read T1 * * SAA,SAA2,OS ; statement keyword
real real ATQ * * SAA,SAA2,OS ; data attribute
record record1 ATU * * SAA,SAA2,OS ; non-data attribute
record record2 CON * * SAA,SAA2,OS ; condition
recsize recsize ENV * * SAA,SAA2,OS ; environment option
recursive recursive ATU * * SAA,SAA2,OS ; non-data attribute - to allow it to appear on PROC stmt
reducible,red SADDAY ATU * * SAA, OS ; non-data attribute
reducible,red reducible OPS * * SAA2 ; options keyword
reentrant reentrant OPS * * SAA,SAA2,OS ; options option
refer refer ATQ * * SAA,SAA2,OS ; data attribute option
regional regional ENV * * SAA,SAA2,OS ; environment option
relative relative ENV * * SAA,SAA2 ; environment option
release release T2 * * SAA,SAA2,OS ; statement keyword
reorder reorder1 ATU * * SAA,SAA2,OS ; non-data attribute - to allow it to appear on PROC stmt
reorder reorder2 OPS * * SAA2 ; options option ----
repeat repeat SOP * * SAA,SAA2,OS ; do statement keyword
reply reply SOP * * SAA,SAA2,OS ; display option
reread SADDAY ENV * * OS ; environment option
rescan rescan1 ATU * * SAA,SAA2,OS ; preprocessor attribute
rescan rescan2 SOP * * SAA,SAA2,OS ; preprocessor statement option
reserved reserved ATU * * SAA2 ; non-data attribute
reserves reserves ATQ * * SAA2 ; package statement attribute
resignal resignal FLO * * SAA2 ; statement keyword
retcode retcode OPS * * SAA2,OS ; options option ----
return return FLO * * SAA,SAA2,OS ; statement keyword
returns returns ATQ * * SAA,SAA2,OS ; data attribute
reuse SADDAY ENV * * OS ; environment option
revert revert T2 * * SAA,SAA2,OS ; statement keyword
rewrite rewrite T1 * * SAA,SAA2,OS ; statement keyword
scalarvarying scalarvarying ENV * * SAA,SAA2,OS ; environment option
scan scan1 ATU * * SAA,SAA2,OS ; preprocessor attribute
scan scan2 SOP * * SAA,SAA2,OS ; preprocessor statement option
segmented segmented ATU * * SAA2 ; non - data attribute
select select FLO 3 3 SAA,SAA2,OS ; statement keyword
sequential,seql sequential ATU * * SAA,SAA2,OS ; non-data attribute
set set SOP * * SAA,SAA2,OS ; allocate/locate option
signal signal FLO * * SAA,SAA2,OS ; statement keyword
signed,unsigned signed ATU * * SAA2 ; non-data attribute
sis SADDAY ENV * * OS ; environment option
size size CON * * SAA,SAA2,OS ; condition name/prefix
skip skip SOP * * SAA,SAA2,OS ; stream i/o option
skip SADDAY ENV * * OS ; environment option
snap snap SOP * * SAA,SAA2,OS ; on statement keyword
sql sql SOP * * SAA,SAA2,OS ; statement option
statement statement ATU * * SAA,SAA2,OS ; preprocessor attribute
static static ATU * * SAA,SAA2,OS ; non-data attribute
stop stop T1 * * SAA,SAA2,OS ; statement keyword
storage storage CON * * SAA2 ; condition prefix
stream stream ATU * * SAA,SAA2,OS ; non-data attribute
string string SOP * * SAA,SAA2,OS ; stream i/o option
stringrange,strg stringrange CON * * SAA,SAA2,OS ; condition name/prefix
stringsize,strz stringsize CON * * SAA,SAA2,OS ; condition name/prefix
structure structure ATU * * SAA2 ; non-data attribute
subscriptrange,subrg subscriptrange CON * * SAA,SAA2,OS ; condition name/prefix
system system1 SOP * * SAA,SAA2,OS ; on statement keyword
system system2 OPS * * SAA2 ; options option ----
task task ATU * * SAA2,OS ;
task SADDAY SOP * * SAA2,OS ;
then then SOP * * SAA,SAA2,OS ; if statement keyword
thread thread SOP * * SAA2 ; attach statement option
title title SOP * * SAA,SAA2,OS ; open/fetch option
to to SOP * * SAA,SAA2,OS ; do statement keyword
total SADDAY ENV * * OS ; I/O env option ----- special for testing
tp SADDAY ENV * * OS ; environment option
transmit transmit CON * * SAA,SAA2,OS ; condition name
trkofl SADDAY ENV * * OS ; environment option
tstack tstack ENV * * SAA2 ; attach statement env option
type type ATQ * * SAA2 ; non-data attribute
u SADDAY ENV * * OS ; environment option
unaligned,unal unaligned ATU * * SAA,SAA2,OS ; descriptive attribute
unbuffered,unbuf unbuffered ATU * * SAA,SAA2,OS ; non-data attribute
undefinedfile,undf undefinedfile CON * * SAA,SAA2,OS ; condition name
underflow,ufl underflow CON * * SAA,SAA2,OS ; condition name/prefix
union union ATU * * SAA2 ; non-data attribute
unlock SADDAY T1 * * OS ; i/o statemnent
until until SOP * * SAA,SAA2,OS ; do statement keyword
update update ATU * * SAA,SAA2,OS ; non-data attribute
upthru upthru SOP * * SAA2 ; do statement keyword
v,vb,vs,vbs SADDAY ENV * * OS ; environment option
value value ATQ * * SAA2 ; non-data attribute ----
variable variable ATU * * SAA,SAA2,OS ; non-data attribute
varying,var varying ATU * * SAA,SAA2,OS ; data attribute
varyingz,varz varyingz ATU * * SAA2 ; data attribute
vsam vsam ENV * * SAA,SAA2,OS ; environment option
wait wait T1 * * SAA2 ; statement keyword
wait SADDAY T2 * * OS ; statement keyword
when when1 T0 3 3 SAA,SAA2,OS ; statement keyword
when when2 ATQ * * SAA,SAA2,OS ; option of GENERIC
while while SOP * * SAA,SAA2,OS ; do statement keyword
write write T1 * * SAA,SAA2,OS ; statement keyword
zerodivide,zdiv zerodivide CON * * SAA,SAA2,OS ; condition name/prefix
*
*
*----------------
*SAA1 %STATEMENTS
*----------------
*
*As published in:
* "IBM PL/I Language Reference", V1R1
*
* % statements appear in hear just like any others and will be accepted
* as if they were nornal statemetns. The tokeniser recognises a leading % as 'special'
* and uses the preprocessor font for the keywords. Beyond that % statements get no
* special treatment.
*
* A number of the keywords are commented because they reflect underlying statements already
* supported in the list above.
*
*STATEMENT help token
*
ACTIVATE,act ACTIVATE T2 * * SAA,SAA2,OS ;
answer,ans answer T2 * * SAA2 ;
DEACTIVATE,deact DEACTIVATE T2 * * SAA,SAA2,OS ;
*DO %DO * * * SAA,SAA2,OS ;
*END %END * * * SAA,SAA2,OS ;
*GO TO %GOTO * * SAA,SAA2,OS ;
*IF %IF * * SAA,SAA2,OS ;
*INCLUDE includedir PPS * * SAA,SAA2,OS ;
KEYS * T1 * SAA,SAA2,OS ;
LINE line PPS ** SAA2 ;
NOPRINT NOPRINT PPS * * SAA,SAA2,OS ;
NOTE NOTE PPS ** SAA,SAA2,OS ;
*%null %null * * SAA,SAA2,OS ;
PAGE PAGE PPS * * SAA,SAA2,OS ;
PRINT PRINT PPS * * SAA,SAA2,OS ;
*PROCEDURE %PROCEDURE * * SAA,SAA2,OS ;
PROCESS PROCESS PPS * * SAA,SAA2,OS ;
SKIP skipdir PPS * * SAA,SAA2,OS ;
STATEMENT * PPS * SAA,SAA2,OS ;
*
*---------------------------
* BIF names
*---------------------------
*
abs abs BIF * * SAA,SAA2,OS ;
acos acos BIF * * SAA,SAA2,OS ;
acosf acosf BIF * * SAA2 ;
add add BIF * * SAA,SAA2,OS ;
addr addr BIF * * SAA,SAA2,OS ;
addrdata addrdata BIF * * SAA2;
all all BIF * * SAA,SAA2,OS ;
allocate,alloc allocate BIF * * SAA2 ;
allocation,allocn allocation BIF * * SAA,SAA2,OS ;
any any BIF * * SAA,SAA2,OS ;
asin asin BIF * * SAA,SAA2,OS ;
asinf asinf BIF * * SAA2 ;
atan atan BIF * * SAA,SAA2,OS ;
atanf atanf BIF * * SAA2 ;
atand atand BIF * * SAA,SAA2,OS ;
atanh atanh BIF * * SAA,SAA2,OS ;
automatic,auto automatic BIF * * SAA2 ;
availablearea availablearea BIF * * SAA2 ;
binary,bin binary BIF * * SAA,SAA2,OS ;
binaryvalue,binvalue binaryvalue BIF * * SAA,SAA2,OS ;
bit bit BIF * * SAA,SAA2,OS ;
bitlocation,bitloc bitlocation BIF * * SAA2 ;
bool bool BIF * * SAA,SAA2,OS ;
ceil ceil BIF * * SAA,SAA2,OS ;
centerleft,center centerleft BIF * * SAA2 ;
centreleft,centre centreleft BIF * * SAA2 ;
centerright centerright BIF * * SAA2 ;
centreright centreright BIF * * SAA2 ;
character character BIF * * SAA2 ;
char char BIF * * SAA,SAA2,OS ;
chargraphic,charg chargraphic BIF * * SAA2 ;
collate collate BIF * * SAA2 ;
comment comment BIF * * SAA2 ;
compare compare BIF * * SAA2 ;
compiledate compiledate BIF * * SAA2 ;
compiletime compiletime BIF * * SAA,SAA2,OS ;
completion SADDAY BIF * * OS ;
complex,cplx complex BIF * * SAA,SAA2,OS ;
conjg conjg BIF * * SAA,SAA2,OS ;
copy copy BIF * * SAA2 ;
cos cos BIF * * SAA,SAA2,OS ;
cosf cosf BIF * * SAA2 ;
cosd cosd BIF * * SAA,SAA2,OS ;
cosh cosh BIF * * SAA,SAA2,OS ;
cotan cotan BIF * * SAA2 ;
cotand cotand BIF * * SAA2 ;
count count BIF * * SAA,SAA2,OS ;
counter counter BIF * * SAA,SAA2,OS ;
currentsize currentsize BIF * * SAA2 ;
currentstorage,cstg currentstorage BIF * * SAA,SAA2,OS ;
datafield datafield BIF * * SAA,SAA2,OS ;
date date BIF * * SAA,SAA2,OS ;
datetime datetime BIF * * SAA,SAA2,OS ;
days days BIF * * SAA2 ;
daystodate daystodate BIF * * SAA2 ;
daystosecs daystosecs BIF * * SAA2 ;
decimal,dec decimal BIF * * SAA,SAA2,OS ;
dimension,dim dimension BIF * * SAA,SAA2,OS ;
divide divide BIF * * SAA,SAA2,OS ;
edit edit BIF * * SAA2 ;
endfile endfile BIF * * SAA2 ;
empty empty BIF * * SAA,SAA2,OS ;
entryaddr entryaddr BIF * * SAA,SAA2,OS ;
epsilon epsilon BIF * * SAA2 ;
erf erf BIF * * SAA,SAA2,OS ;
erfc erfc BIF * * SAA,SAA2,OS ;
exp exp BIF * * SAA,SAA2,OS ;
exponent exponent BIF * * SAA2 ;
fileddtest fileddtest BIF * * SAA2 ;
fileddint fileddint BIF * * SAA2 ;
fileddword fileddword BIF * * SAA2 ;
fileopen fileopen BIF * * SAA2 ;
fixed fixed BIF * * SAA,SAA2,OS ;
float float BIF * * SAA,SAA2,OS ;
floor floor BIF * * SAA,SAA2,OS ;
gamma gamma BIF * * SAA2 ;
graphic graphicbif BIF * * SAA,SAA2,OS ;
handle handle BIF * * SAA2 ;
hbound hbound BIF * * SAA,SAA2,OS ;
hex hex BIF * * SAA2 ;
heximage heximage BIF * * SAA2 ;
high high BIF * * SAA,SAA2,OS ;
huge huge BIF * * SAA2 ;
iand iand BIF * * SAA2 ;
ieor ieor BIF * * SAA2 ;
imag imag BIF * * SAA,SAA2,OS ;
inot inot BIF * * SAA2 ;
index index BIF * * SAA,SAA2,OS ;
ior ior BIF * * SAA2 ;
isll isll BIF * * SAA2 ;
isrl isrl BIF * * SAA2 ;
item item BIF * * SAA2 ;
itemcount itemcount BIF * * SAA2 ;
lbound lbound BIF * * SAA,SAA2,OS ;
left left BIF * * SAA2 ;
length length BIF * * SAA,SAA2,OS ;
lineno lineno BIF * * SAA,SAA2,OS ;
location location BIF * * SAA2 ;
log log BIF * * SAA,SAA2,OS ;
loggamma loggamma BIF * * SAA2 ;
log2 log2 BIF * * SAA,SAA2,OS ;
log10 log10 BIF * * SAA,SAA2,OS ;
low low BIF * * SAA,SAA2,OS ;
lower2 lower2 BIF * * SAA2 ;
macargs macargs BIF * * SAA2 ;
maccol maccol BIF * * SAA2 ;
macecho macecho BIF * * SAA2 ;
macindex macindex BIF * * SAA2 ;
maclmar maclmar BIF * * SAA2 ;
macparmset macparmset BIF * * SAA2 ;
macrmar macrmar BIF * * SAA2 ;
max max BIF * * SAA,SAA2,OS ;
maxexp maxexp BIF * * SAA2 ;
maxlength maxlength BIF * * SAA2 ;
min min BIF * * SAA,SAA2,OS ;
minexp minexp BIF * * SAA2 ;
mod mod BIF * * SAA,SAA2,OS ;
mpstr mpstr BIF * * SAA,SAA2,OS ;
multiply multiply BIF * * SAA,SAA2,OS ;
null null BIF * * SAA,SAA2,OS ;
offset offset BIF * * SAA,SAA2,OS ;
offsetadd offsetadd BIF * * SAA2 ;
offsetdiff offsetdiff BIF * * SAA2 ;
offsetsubtract offsetsubtract BIF * * SAA2 ;
offsetvalue offsetvalue BIF * * SAA2 ;
omitted omitted BIF * * SAA2 ;
onchar onchar BIF * * SAA,SAA2,OS ;
oncode oncode BIF * * SAA,SAA2,OS ;
oncondcond oncondcond BIF * * SAA2 ;
oncondid oncondid BIF * * SAA2 ;
oncount oncount BIF * * SAA,SAA2,OS ;
onfile onfile BIF * * SAA,SAA2,OS ;
ongsource ongsource BIF * * SAA2 ;
onkey onkey BIF * * SAA,SAA2,OS ;
onloc onloc BIF * * SAA,SAA2,OS ;
onsource onsource BIF * * SAA,SAA2,OS ;
ordinalhigh ordinalhigh BIF * * SAA2 ;
ordinallow ordinallow BIF * * SAA2 ;
ordinalname ordinalname BIF * * SAA2 ;
ordinalpred ordinalpred BIF * * SAA2 ;
ordinalsucc ordinalsucc BIF * * SAA2 ;
packagename packagename BIF * * SAA2 ;
pageno pageno BIF * * SAA2 ;
parmset parmset BIF * * SAA,SAA2,OS ;
places places BIF * * SAA2 ;
plidelete plidelete BIF * * SAA2 ; -
plidump plidump BIF * * SAA,SAA2,OS ;
plifill plifill BIF * * SAA2 ;
plifree plifree BIF * * SAA2 ;
plimove plimove BIF * * SAA2 ;
pliover pliover BIF * * SAA2 ;
pliretc pliretc BIF * * SAA,SAA2,OS ;
pliretv pliretv BIF * * SAA,SAA2,OS ;
plisrta plisrta BIF * * SAA,SAA2,OS ;
plisrtb plisrtb BIF * * SAA,SAA2,OS ;
plisrtc plisrtc BIF * * SAA,SAA2,OS ;
plisrtd plisrtd BIF * * SAA,SAA2,OS ;
plistsize plistsize BIF * * SAA2 ;
plitest plitest BIF * * SAA,SAA2,OS ;
pointer,ptr pointer BIF * * SAA,SAA2,OS ;
pointeradd,ptradd pointeradd BIF * * SAA,SAA2,OS ;
pointerdiff,ptrdiff pointerdiff BIF * * SAA2 ;
pointersubtract,ptrsubtract pointersubtract BIF * * SAA2 ;
pointervalue,ptrvalue pointervalue BIF * * SAA,SAA2,OS ;
precision,prec precision BIF * * SAA,SAA2,OS ;
pred pred BIF * * SAA2 ;
priority priority BIF * * SAA,SAA2,OS ;
procedurename,procname procedurename BIF * * SAA2 ;
prod prod BIF * * SAA,SAA2,OS ;
quote quote BIF * * SAA2 ;
radix radix BIF * * SAA2 ;
raise2 raise2 BIF * * SAA2 ;
random random BIF * * SAA2 ;
real realbif BIF * * SAA,SAA2,OS ;
rem rem BIF * * SAA2 ;
repeat repeat BIF * * SAA,SAA2,OS ;
reverse reverse BIF * * SAA2 ;
right right BIF * * SAA2 ;
round round BIF * * SAA,SAA2,OS ;
samekey samekey BIF * * SAA,SAA2,OS ;
scale scale BIF * * SAA2 ;
search search BIF * * SAA2 ;
searchr searchr BIF * * SAA2 ;
secs secs BIF * * SAA2 ;
secstodate secstodate BIF * * SAA2 ;
secstodays secstodays BIF * * SAA2 ;
serialize4 serialize4 BIF * * SAA2 ;
sign sign BIF * * SAA,SAA2,OS ;
signed signed BIF * * SAA2 ;
sin sin BIF * * SAA,SAA2,OS ;
sind sind BIF * * SAA,SAA2,OS ;
sinf sinf BIF * * SAA2 ;
sinh sinh BIF * * SAA,SAA2,OS ;
size size BIF * * SAA2 ;
sourcefile sourcefile BIF * * SAA2 ;
sourceline sourceline BIF * * SAA2 ;
sqrt sqrt BIF * * SAA,SAA2,OS ;
sqrtf sqrtf BIF * * SAA2 ;
status status BIF * * OS ;
storage,stg storage BIF * * SAA,SAA2,OS ;
string string BIF * * SAA,SAA2,OS ;
substr substr BIF * * SAA,SAA2,OS ;
subtract subtract BIF * * SAA2 ;
succ succ BIF * * SAA2 ;
sum sum BIF * * SAA,SAA2,OS ;
sysnull sysnull BIF * * SAA,SAA2,OS ;
sysparm sysparm BIF * * SAA2 ;
system systembif BIF * * SAA2 ;
sysversion sysversion BIF * * SAA2 ;
tally tally BIF * * SAA2 ;
tan tan BIF * * SAA,SAA2,OS ;
tand tand BIF * * SAA,SAA2,OS ;
tanf tanf BIF * * SAA2 ;
tanh tanh BIF * * SAA,SAA2,OS ;
threadid threadid BIF * * SAA2 ; -
time time BIF * * SAA,SAA2,OS ;
tiny tiny BIF * * SAA2 ;
translate translate BIF * * SAA,SAA2,OS ;
trim trim BIF * * SAA2 ;
trunc trunc BIF * * SAA,SAA2,OS ;
type type BIF * * SAA2 ;
unsigned unsigned BIF * * SAA2 ;
unspec unspec BIF * * SAA,SAA2,OS ;
valid valid BIF * * SAA2 ;
verify verify BIF * * SAA,SAA2,OS ;
verifyr verifyr BIF * * SAA2 ;
weekday weekday BIF * * SAA2 ;
*
*---------------------------
* TYPE function names
*---------------------------
*
bind bind TYF * * SAA2 ;
first first TYF * * SAA2 ;
last last TYF * * SAA2 ;
new new TYF * * SAA2 ;
size size TYF * * SAA2 ;
*
*
*------------------------------
* SQL related words.
*------------------------------
*
*
ALL * EXEC * * SAA,SAA2,OS ;
AND * EXEC * * SAA,SAA2,OS ;
ANY * EXEC * * SAA,SAA2,OS ;
ASC * EXEC * * SAA,SAA2,OS ;
BETWEEN * EXEC * * SAA,SAA2,OS ;
BY * EXEC * * SAA,SAA2,OS ;
CLOSE * EXEC * * SAA,SAA2,OS ;
COMMIT * EXEC * * SAA,SAA2,OS ;
CONTINUE * EXEC * * SAA,SAA2,OS ;
CURRENT * EXEC * * SAA,SAA2,OS ;
CURSOR * EXEC * * SAA,SAA2,OS ;
DATE * EXEC * * SAA,SAA2,OS ;
DAY * EXEC * * SAA,SAA2,OS ;
DAYS * EXEC * * SAA,SAA2,OS ;
DECLARE * EXEC * * SAA,SAA2,OS ;
DELETE * EXEC * * SAA,SAA2,OS ;
DESC * EXEC * * SAA,SAA2,OS ;
DISTINCT * EXEC * * SAA,SAA2,OS ;
EXISTS * EXEC * * SAA,SAA2,OS ;
FETCH * EXEC * * SAA,SAA2,OS ;
FOR * EXEC * * SAA,SAA2,OS ;
FOUND * EXEC * * SAA,SAA2,OS ;
FROM * EXEC * * SAA,SAA2,OS ;
GO * EXEC * * SAA,SAA2,OS ;
GOTO * EXEC * * SAA,SAA2,OS ;
GROUP * EXEC * * SAA,SAA2,OS ;
HAVING * EXEC * * SAA,SAA2,OS ;
HOUR * EXEC * * SAA,SAA2,OS ;
HOURS * EXEC * * SAA,SAA2,OS ;
IN * EXEC * * SAA,SAA2,OS ;
INCLUDE * EXEC * * SAA,SAA2,OS ;
INDICATOR * EXEC * * SAA,SAA2,OS ;
INSERT * EXEC * * SAA,SAA2,OS ;
INTO * EXEC * * SAA,SAA2,OS ;
IS * EXEC * * SAA,SAA2,OS ;
ITEM * EXEC * * SAA,SAA2,OS ;
LIKE * EXEC * * SAA,SAA2,OS ;
MICROSECOND * EXEC * * SAA,SAA2,OS ;
MICROSECONDS * EXEC * * SAA,SAA2,OS ;
MINUTE * EXEC * * SAA,SAA2,OS ;
MINUTES * EXEC * * SAA,SAA2,OS ;
MONTH * EXEC * * SAA,SAA2,OS ;
MONTHS * EXEC * * SAA,SAA2,OS ;
NOT * EXEC * * SAA,SAA2,OS ;
NULL * EXEC * * SAA,SAA2,OS ;
OF * EXEC * * SAA,SAA2,OS ;
OPEN * EXEC * * SAA,SAA2,OS ;
OR * EXEC * * SAA,SAA2,OS ;
ORDER * EXEC * * SAA,SAA2,OS ;
ROLLBACK * EXEC * * SAA,SAA2,OS ;
SECOND * EXEC * * SAA,SAA2,OS ;
SECONDS * EXEC * * SAA,SAA2,OS ;
SELECT * EXEC * * SAA,SAA2,OS ;
SET * EXEC * * SAA,SAA2,OS ;
SOME * EXEC * * SAA,SAA2,OS ;
SQLCA * EXEC * * SAA,SAA2,OS ;
SQLDA * EXEC * * SAA,SAA2,OS ;
SQLERROR * EXEC * * SAA,SAA2,OS ;
SQLID * EXEC * * SAA,SAA2,OS ;
SQLWARNING * EXEC * * SAA,SAA2,OS ;
TIME * EXEC * * SAA,SAA2,OS ;
TIMESTAMP * EXEC * * SAA,SAA2,OS ;
TIMEZONE * EXEC * * SAA,SAA2,OS ;
TO * EXEC * * SAA,SAA2,OS ;
UNION * EXEC * * SAA,SAA2,OS ;
UPDATE * EXEC * * SAA,SAA2,OS ;
USER * EXEC * * SAA,SAA2,OS ;
VALUES * EXEC * * SAA,SAA2,OS ;
WHENEVER * EXEC * * SAA,SAA2,OS ;
WHERE * EXEC * * SAA,SAA2,OS ;
YEAR * EXEC * * SAA,SAA2,OS ;
YEARS * EXEC * * SAA,SAA2,OS ;