12.07.2015 Views

z/VM: TCP/IP Programmer's Reference - z/VM - IBM

z/VM: TCP/IP Programmer's Reference - z/VM - IBM

z/VM: TCP/IP Programmer's Reference - z/VM - IBM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

General Programming Information►(XA►◄TXTLIBfilename▼filenameParameterload_listcontrol_filetypeDescriptionSpecifies the file name of a file with the file type LOADLIST thatcontains file names to be included in the load module. The firstline in the load_list specifies the name of the main object module.Subsequent lines specify additional object modules to be includedin the load module.Specifies the control_file, which determines the file types of text filesaccording to the standard update identifier procedure.Specifies the type parameter as one of the following:C Includes SCEELKED, CMSLIB, RPCLIB, <strong>TCP</strong>ASCAL,<strong>TCP</strong>LANG, COMMTXT, and CLIB txtlibs.C-ONLYIncludes SCEELKED, RPCLIB, COMMTXT, CMSLIB, andCLIB txtlib.PASCALIncludes <strong>TCP</strong>ASCAL, <strong>TCP</strong>LANG, and COMMTXT txtlibs.PASCAL is the default for the type parameter.XASpecify this option if the application requires storage above the16Mb line. The application will be generated RMODE ANY andAMODE 31. Pascal applications will require the GLOBALLOADLIB <strong>TCP</strong>RTLIB command be issued before being run.TXTLIB Specifies the TXTLIB option, which allows you to specify up to 50filenames that will be added to the GLOBAL TXTLIB command.See Table 1 on page 2 for a list of the files necessary for eachapplication.If <strong>TCP</strong>LOAD is not used, you must global the appropriate TXTLIB files.Using <strong>TCP</strong>LOADThe following example describes how to use <strong>TCP</strong>LOAD to generate an executablemodule from object files.1. Create a file with file type LOADLIST, which contains all the object (TEXT) filesto be linked. For example, llistfn loadlist.2. Create a control file with file type CNTRL, which contains the list of TEXT filetypes. For example, ctrlfn cntrl.3. Invoke the <strong>TCP</strong>LOAD command, as shown in the following example.<strong>TCP</strong>LOAD llistfn ctrlfn C (TXTLIB mylib1 mylib2Where:v llistfn is the LOADLIST file namev ctrlfn is the control file namev C is the language of the main programv TXTLIB is the keyword that specifies the libraries to linkChapter 1. General Programming Information 3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!