C-1 C/Base Commands



This page, and all contents, are Copyright (C) 1995 by Conetic Software Systems, Inc. , San Antonio Texas, U.S.A.



intro(C-1) - introduction to commands

addlf(C-1) - add a logical RMSfile to the database catalog

cdef(C-1) - build a definition for a data file

cdict(C-1) - build a data dictionary for an RMSfile

cform(C-1) - build a formfile

clearlf(C-1) - clear contents in an existing RMSfile

convertlf(C-1) - convert an existing RMSfile

convform(C-1) - reformat old style formfile

copies(C-1) - produce multiple copies

createlf(C-1) - create a logical RMSfile

creport(C-1) - build a Visual Reportfile

crw(C-1) - compile report writer program

csort(C-1) - sort pull style text lines

cterm(C-1) - build a terminal definition

dbadd(C-1) - add a database definition

dbadmin(C-1) - administer database catalog

dbcreate(C-1) - create a new database

dbfile(C-1) - print pathname of logical RMSfile

dbhome(C-1) - print database home directory

dblist(C-1) - list database catalog

dbremove(C-1) - remove a database definition

dbrm(C-1) - completely remove a database

dbupd(C-1) - update the database catalog

dcopy(C-1) - copy RMSfile

deletelf(C-1) - remove an existing RMSfile

dprint(C-1) - print the contents of an RMSfile

drestore(C-1) - restore a database

dspace(C-1) - compute space required for RMSfile

escape(C-1) - generate terminal escape sequence

expandlf(C-1) - expand an RMSfile

filedef(C-1) - create or maintain RMS definition files

form(C-1) - display input form on terminal, accept input

formadmin(C-1) - administer formfile catalog

formcopy(C-1) - copy logical formfile

formdef(C-1) - create and maintain formfiles used by form

formedit(C-1) - create or maintain logical formfiles

formrm(C-1) - remove a logical formfile

formupd(C-1) - update the logical formfile catalog

grace(C-1) - run a report writer program

lfadmin(C-1) - administer RMSfile catalog

lfcopy(C-1) - copy logical RMS data and definition file

lfedit(C-1) - create or maintain logical RMSfile definitions

lfrm(C-1) - remove a logical RMS data and definition file

lfupd(C-1) - update the logical RMSfile catalog

makelf(C-1) - make an RMSfile

makelog(C-1) - make empty log file

menu(C-1) - display menu on terminal

menudef(C-1) - create or maintain menufiles used by menu

npull(C-1) - a fast data record extraction utility (uses indexes)

pdef(C-1) - print contents of RMS definition

pdict(C-1) - print data dictionary for RMSfile

pform(C-1) - print contents of formfile used by form

pindex(C-1) - print contents of RMS index file

plog(C-1) - print log file contents 

preport(C-1) - print contents of a visual reportfile

prtset(C-1) - set up a printer to use with grace

pterm(C-1) - print terminal characteristics

pull(C-1) - pull records from an RMSfile

put(C-1) - put text data into RMSfile

rbldidx(C-1) - rebuild RMS index file

removelf(C-1) - remove a logical RMSfile catalog entry

rmsck(C-1) - check RMSfiles for consistency

rptadmin(C-1) - administer reportfile catalog

rptcopy(C-1) - copy logical reportfile

rptedit(C-1) - create or maintain logical reportfiles

rptrm(C-1) - remove a logical report

rptupd(C-1) - update the logical reportfile catalog

shash(C-1) - computer statistics about a hashed RMSfile

sindex(C-1) - print summary of RMS index file usage

start(C-1) - start an application system

table(C-1) - load data into a row and column matrix

termset(C-1) - set terminal characteristics

toolkit(C-1) - create or maintain an application system

touch(C-1) - creates a zero byte data file (used for transaction logging)

wtr(C-1) - interpret a compiled reportfile

wtrdef(C-1) - create and maintain visual reportfiles


------------------------------------------------------------------------------



C-3 C/Base Functions

intro(C-3) - introduction to library functions abspath(C-3) - return absolute pathname of a file addmonth(C-3) - add months to DATE value align(C-3) - align address to data boundary ask(C-3) - ask parameter from terminal atobool(C-3) - convert ASCII to BOOLEAN value atodate(C-3) - convert ASCII to date value atolong(C-3) - convert ASCII to LONG value atomoney(C-3) - convert ASCII to MONEY value atoreal(C-3) - convert ASCII to REAL value atotime(C-3) - convert ASCII to time value atoval(C-3) - convert ASCII string to value booltoa(C-3) - convert BOOLEAN value to ASCII clrb(C-3), cmpb(C-3) - perform byte operations movb(C-3), filb(C-3) - perform byte operations cbasedir(C-3) - return name of C/Base administrative directory creattemp(C-3) - create a temporary file dalign(C-3) - align address to data boundary datetoa(C-3) - convert DATE to ASCII dbfind(C-3) - get named database description dbfindn(C-3) - get nth database description dblist(C-3) - set up user record fields dbopen(C-3) - open default database dbparse(C-3) - parse logical name dbpath(C-3) - return full path of logical name dclock(C-3) - lock/unlock current data record for exclusive use dclockw(C-3) - lock/unlock current data record for exclusive use dcunlock(C-3) - lock/unlock current data record for exclusive use dclose(C-3) - close RMSfile ddelete(C-3) - delete current record derror(C-3), derrmsg(C-3) - describe last I/O error dfind(C-3) - find first active record in RMSfile dfindfi(C-3) - find first record in secondary index dfindi(C-3) - find first record using secondary index dfindk(C-3) - find record with given primary key dfindl(C-3) - find last active record in RMSfile dfindli(C-3) - find last record in secondary index dfindlk(C-3) - find last record with given primary key dfindlm(C-3) - find last matching record using secondary index dfindm(C-3) - find first matching record using secondary index dfindn(C-3) - find next active record dfindni(C-3) - find next record using secondary index dfindnk(C-3) - find next record with same key dfindnm(C-3) - find next matching record using secondary index dfindp(C-3) - find previous active record dfindpi(C-3) - find previous record using secondary index dfindpk(C-3) - find previous record with same key dfindpm(C-3) - find previous matching record using secondary index dflock(C-3) - lock/unlock an RMSfile for exclusive use dflockw(C-3) - lock/unlock an RMSfile for exclusive use dfunlock(C-3) - lock/unlock an RMSfile for exclusive use dilock(C-3) - lock/unlock RMSfile for inserting records dilockw(C-3) - lock/unlock RMSfile for inserting records diunlock(C-3) - lock/unlock RMSfile for inserting records dinsert(C-3) - insert keyed record dlbegin(C-3) - log beginning of transaction dlcancel(C-3) - log cancelled transaction dlclear(C-3) - log clearing of logical RMSfile dlcommit(C-3) - log committed transaction dlconv(C-3) - log conversion of logical RMSfile dldelete(C-3) - log deletion of logical RMSfile dlend(C-3) - log end of transaction dlexpand(C-3) - log expansion of logical RMSfile dlfind(C-3) - get named logical RMSfile description dlfindn(C-3) - get nth logical RMSfile description dlmake(C-3) - log creation of logical RMSfile dloff(C-3) - turn off transaction logging dlon(C-3) - turn on transaction logging dlopen(C-3) - open a logical RMSfile dnrec(C-3) - return number of allocated records dnumidx(C-3) - set significant fields for index query dopen(C-3) - open RMSfile dread(C-3) - read record using record number dreadc(C-3) - read the current record dresiz(C-3) - return RMSfile record size drlist(C-3) - set up user record fields drlock(C-3) - lock/unlock a data record for exclusive use drlockw(C-3) - lock/unlock a data record for exclusive use drunlock(C-3) - lock/unlock a data record for exclusive use dseti(C-3) - set secondary index for RMSfile searching dsetpos(C-3) - set position in secondary index dsizeof(C-3) - return size of RMS data type dtacces(C-3) - return file access method dtclose(C-3) - close RMS dictionary file dtdict(C-3) - return RMSfile dictionary pointer dtefld(C-3) - find effective dictionary field number dtefldn(C-3) - find effective field number of nth field in dictionary dtfind(C-3) - find dictionary field dtfindi(C-3) - find field names in secondary index dtfindk(C-3) - find field numbers in secondary index dtfindn(C-3) - find nth field in dictionary dtopen(C-3) - open RMS dictionary file for I/O dttogmt(C-3) - convert DATE, TIME pair into operating system GMT time dttomdy(C-3) - convert DATE to month, day, and year dupdate(C-3) - update current record dwrite(C-3) - write record using record number escape(C-3) - send and receive terminal escape sequences getkey(C-3) - send and receive terminal escape sequences escin(C-3) - send and receive terminal escape sequences escout(C-3) - send and receive terminal escape sequences fatobool(C-3) - convert ASCII to BOOLEAN value fatodate(C-3) - convert ASCII to date value fatolong(C-3) - convert ASCII to LONG value fatomoney(C-3) - convert ASCII to MONEY value fatoreal(C-3) - convert ASCII to REAL value fatotime(C-3) - convert ASCII to time value fbooltoa(C-3) - format BOOLEAN value to ASCII fcountry(C-3) - establish Country format structure fdatetoa(C-3) - format DATE to ASCII firstday(C-3) - return first day of the month for any date flongtoa(C-3) - format LONG to ASCII fmoneytoa(C-3) - format MONEY to ASCII form(C-3) - display and collect data from data entry form frealtoa(C-3) - format REAL to ASCII ftimetoa(C-3) - format TIME value to ASCII equivalent ftnirps(C-3) - string formatter getfaday(C-3) - get abbreviated days of week names getfamth(C-3) - get abbreviated month names getfbool(C-3) - get format of BOOLEAN values getfcurr(C-3) - get currency symbol string getfcycle(C-3) - get time cycle names getfdate(C-3) - get format for DATE values getfday(C-3) - get days of week names getfdec(C-3) - get decimal separator character getfint(C-3) - get format for INT values getfmoney(C-3) - get format for MONEY values getfmth(C-3) - get month names getforder(C-3) - get input date order getfplac(C-3) - get number of decimal places in MONEY getfreal(C-3) - get format for REAL values getfthou(C-3) - get thousands separator character getftime(C-3) - get format for TIME values gmttodt(C-3) - convert operating system GMT time to RMS DATE and TIME longtoa(C-3) - convert LONG to ASCII mdytodt(C-3) - convert month, day, year to date value moneytoa(C-3) - convert MONEY to ASCII realtoa(C-3) - convert REAL to ASCII round(C-3) - round floating point value sdatafile(C-3) - return the RMSfile name sdebug(C-3) - display debugging information on the screen seditname(C-3) - return edit name of a field sfldname(C-3) - return field name of a field sformname(C-3) - return name of current form sformno(C-3) - return current form number showtext(C-3) - display help file text on terminal smode(C-3) - return the current form mode snextfld(C-3) - set next field to process snextform(C-3) - set next form for data entry snextkey(C-3) - insert a key into the input key queue sputerr(C-3) - put error message on screen sread(C-3) - read contents of data field srecno(C-3) - return current record number srefresh(C-3) - refresh the screen strdup(C-3) - return duplicate copy of string strbcmp(C-3) - perform string operations strbcpy(C-3) - perform string operations strzcpy(C-3) - perform string operations strpbrk(C-3) - return first (last) occurrence in string of character in set strppbrk(C-3) - return first (last) occurrence in string of character in set subenv(C-3) - substitute environment names in string svalform(C-3) - set next validation form for data swrite(C-3) - write string to screen field termparm(C-3) - return terminal characteristics timetoa(C-3) - convert TIME value to ASCII equivalent ttyinit(C-3) - initalize and restore terminal for I/O ttyrestore(C-3) - initalize and restore terminal for I/O erasechar(C-3) - initalize and restore terminal for I/O killchar(C-3) - initalize and restore terminal for I/O valtoa(C-3) - convert value to ASCII string