+----------------------------------------------+ |CALL FMFILL (GENAM,*LBANK*,*KEYS*,CHOPT,IRC*) | +----------------------------------------------+
This routine sets the contents of the FATMEN bank corresponding to the input generic names GENAM, or at the address LBANK if non-zero. This routine either sets fields that can be automatically obtained, such as the date and time or current node, or sets them to zero or blanks as appropriate (user comment, vsn, vid etc.)
Example of using the FMFILL routine
* Update owner information and time fields. * Z option causes the resultant bank to be displayed * via the routine FMSHOW. * CALL FMFILL('//CERN/L3/PROD/DATA/SDSUEE/CC00DCVY', +LBANK,KEYS,'OTZ',IRC) IF(IRC.NE.0) PRINT *,'Return code ',IRC,' from FMFILL'
+--------------------------------------------+ | CALL FMPUTC (LBANK,STRING,ISTART,NCH,IRC*) | +--------------------------------------------+
This routine updates the FATMEN bank at address LBANK with the character data in the string STRING. Attempts to write outside of bank boundaries will generate an error and a non-zero value of the return code IRC. When called from the novice interface, LBANK should be set to -1.
Example of using the FMPUTC routine
CALL FMPUTC(LBANK,'I28901',MVSNFA,6,IRC) IF(IRC.NE.0) PRINT *,'Return code ',IRC,' from FMPUTC'
+--------------------------------------------+ |CALL FMGETC (LBANK,STRING*,ISTART,NCH,IRC*) | +--------------------------------------------+
This routine returns character information from the FATMEN bank at address LBANK in the string STRING. Attempts to read outside of bank boundaries will generate an error and a non-zero value of the return code IRC.
When called from the novice interface, LBANK should be set to -1.
Example of using the FMGETC routine
CALL FMGETC(LBANK,VSN,MVSNFA,6,IRC) IF(IRC.NE.0) PRINT *,'Return code ',IRC,' from FMGETC'
+----------------------------------------------+ | CALL FMPUTV (LBANK,IVECT,ISTART,NWORDS,IRC*) | +----------------------------------------------+
This routine updates the FATMEN bank at address LBANK with the data in the vector IVECT. Attempts to write outside of bank boundaries will generate an error and a non-zero value of the return code IRC.
When called from the novice interface, LBANK should be set to -1.
Example of using the FMPUTV routine
* Insert user words vector into FATMEN bank CALL FMPUTV(LBANK,IWORDS,MUSWFA,10,IRC) IF(IRC.NE.0) PRINT *,'Return code ',IRC,' from FMPUTV'
+----------------------------------------------+ |CALL FMGETV (LBANK,IVECT*,ISTART,NWORDS,IRC*) | +----------------------------------------------+
When called from the novice interface, LBANK should be set to -1.
Example of using the FMGETV routine
CALL FMGETV(LBANK,IWORDS,MUSWFA,10,IRC) IF(IRC.NE.0) PRINT *,'Return code ',IRC,' from FMGETV'
+------------------------------------+ | CALL FMPUTI (LBANK,IVAL,IOFF,IRC*) | +------------------------------------+
This routine updates the FATMEN bank at address LBANK with the data in the variable IVAL. Attempts to write outside of bank boundaries will generate an error and a non-zero value of the return code IRC.
Example of using the FMPUTI routine
* Insert use count into FATMEN bank CALL FMPUTI(LBANK,NUSE,MUSCFA,IRC) IF(IRC.NE.0) PRINT *,'Return code ',IRC,' from FMPUTI'
+------------------------------------+ |CALL FMGETI (LBANK,IVAL*,IOFF,IRC*) | +------------------------------------+
This routine returns the information from the FATMEN bank at address LBANK in the variable IVAL. Attempts to read outside of bank boundaries will generate an error and a non-zero value of the return code IRC.
When called from the novice interface, LBANK should be set to -1.
Example of using the FMGETI routine
CALL FMGETI(LBANK,NUSE,MUSCFA,IRC) IF(IRC.NE.0) PRINT *,'Return code ',IRC,' from FMGETI'