You are here: Development Standards > Routines > General Routines

# General Routines

Routine | Description
GENACDOC.PUB | entry for user-defined documents for a given master file
GENACEML.PUB | add/change/inquiry for e-mail addresses
GENADDL.PUB | entry for Additional Descriptions
GENADDR.PUB | format Name and Address for Postal Regulations
GENBARCD.PUB | Barcode image generation
GENBATCH.PUB | entry of batches in AR, SO, AP, and PO
GENCHECK | GUI checkbox selection
GENCHECK_RADIO | GUI radio button selection
GENCMNT.PUB | Comment entry for customers, vendors, and jobs
GENCODE.PUB | Validate a menu selection for an access code
GENCOPY.PUB | Copy a file
GENCOPY2.PUB | Copy a single file or a list of files one record at a time
GENCVNUM.PUB | Retrieve/Change check or voucher number from Banks
GENCVTTP.PUB | Converts a data file from template information
GENDATE | Noninteractive program interface to GENDATE.PUB
GENDATE.PUB | Convert a string date to a Julian number and vice versa
GENDETAR.PUB | Determine archive folder
GENDFLT.PUB | Retrieve workstation defaults for a terminal
GENEMAIL.PUB | OSAS E-Mail Processor
GENERROR | interactive program interface to GENERROR.PUB
GENERROR.PUB | display program errors, messages and verifications
GENFILE.PUB | create an application data file
GENFPRNT.PUB | print multiple form copies according to the options in the forms code file
GENGETOP.PUB | return the option string for the application specified
GENGETSS.PUB | retrieve next available sort sequence number
GENGOTO.PUB | handle prompting for GOTO commands in HLE screens
GENGUFNC.PUB | build GUI menu strings and standard GUI tool bars
GENGUHLP.PUB | display help for a GUI data field
GENGUINP.PUB | control input for a data field while in GUI mode
GENGULIB.PUB | library of routines used while in GUI mode
GENGULIN.PUB | control scroll area (and accept single-character commands) in GUI mode
GENGUOTH.PUB | run programs from the Other Commands menu in GUI mode
GENGURES.PUB | display graphical screens from BRC files
GENGUSER.PUB | retrieves a user name from OSUS given a terminal ID
GENGUWIN.PUB | display an inquiry window in GUI mode
GENHELP.PUB | display help for a data field in text mode
GENINFO (INFO) | interactive program interface to GENINFO.PUB
GENINFO.PUB | display xxINFO menu and CALL the program task selected
GENINPUT | interactive program interface to GENINPUT.PUB and GENGUINP.PUB
GENINPUT.PUB | control input for a data field in text mode
GENLABEL.PUB | Set up and print labels
GENLINE | interactive program interface to GENLINE.PUB and GENGULIN.PUB
GENLINE.PUB | control scroll area (and accept single-character commands) in text mode
GENLIST | select a list button option in GUI mode
GENLOCK | noninteractive program interface to GENERROR.PUB
GENLOG.PUB | User Loging functions
GENMAINT.PUB | interface program for the File Maintenance key
GENMDIR.PUB | Create directories
GENMNUMG.PUB | Merge application menus into OSMN
GENMPATH.PUB | Determine and change to modifications directory
GENNUM | mask display and error 43 trapping
GENOPEN | program interface to GENOPEN.PUB
GENOPEN.PUB | OPEN or CLOSE a data file
GENOTBBJ.PUB | BBj Printer Output
GENOTHER.PUB | perform the Other Commands function in text mode
GENOUT.PUB | prompt for output destination
GENPC | program interface to GENPC.PUB
GENPC.PUB | perform period conversion
GENPDLCK.PUB | Period locking functions
GENPHONE | Phone mask display
GENPRBBJ.PUB | General printer selection for BBj/Java Printers
GENPRNT.PUB | Prompt for a printer selection
GENPSCR.PUB | perform a print screen
GENREPL.PUB | replace user-defined text in prefix
GENRPTDF.PUB | Report defaults functions
GENRSVCD.PUB | Reserve Post Codes
GENSAVE.PUB | save workstation environment settings
GENSCOPY.PUB | Copy a single file
GENSCROL.PUB | manage on-screen report output
GENSELIN.PUB | special input program for print routines
GENSEQ.PUB | Reserve a sequence number
GENSETRC.PUB | Generate Print Manager Archive record
GENSORT.PUB | manage sort files
GENSORT2.PUB | get a sort order from a list
GENSTDOC.PUB | Start up a document file
GENT2PDF.PUB | Convert text to PDF file
GENTAX.PUB | calculate sales tax
GENTAX2.PUB | post calculated sales tax
GENUSR.PUB | Runs programs from the F4 User Menu
GENUSRFM.PUB | Entry for user-defined fields for a given master file
GENVWDOC.PUB | View the user-defined documents attached to a given master file
GENWIND.PUB | display an inquiry window in text mode
GENWKS.PUB | format output for a Lotus file

Routines ending with the extension .PUB are public programs. Access them with a CALL statement to the routine name in quotation marks:

`xxxx CALL "GENCODE.PUB",...`

Routines with no extension are general routines. You must merge them into a program and then access them with a GOSUB statement to the routine name (a label):

`xxxx GOSUB GENINPUT`

The general library (GENLIB) file included with the Software Development Utilities contains the general routines. You can use this file with the BASIS library manager to merge or update one or more general routines in one or more programs.