Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • $F{callSubf} This says to print whatever is in data element callSubf, which is defined in Data Elements below. It is call number prestamp. If there is no call number prestamp, then it does nothing.

  • + This means do the next thing

  • ($F{callSubf}.equals("") ? "" : "\n") This means if callSubf is blank, i.e. it “equals(““),” then print nothing. Otherwise, i.e. there was something there, then print a line break. So this will print a line break after the prestamp if there is one, and it will do nothing if there is not.

  • $F{callNumericAll} Print whatever is in data element callNumericAll.

  • " " Print a space

  • $F{callSubbCR} Print whatever is in the data element callSubbCR.

  • ($F{callSubbCR}.equals("") ? "" : "\n") If there was a callSubbCR, then print a line break after it. Otherwise do nothing.

  • $F{callSubk} Print whatever is in the data element callSubk.

  • ($F{callSubk}.equals("") ? "" : "\n") If there was a callSubk, then print a line break after it. Otherwise do nothing.

  • $F{itemv} Print whatever is in data element itemv.

Top of page

Importing a Template

Once you have a template complete, save it as a .jrxml file, and you can import it in Settings.

...

Data Elements

The data elements are the components it is possible to extract from an item record into a spine label. Any of these can be included in the <textFieldExpression>. These are the only elements from Sierra that can be included on a spine label.

Element Number

Element Name

Description

Data Source

1

callAlphaStart

Call number component

Alpha content up to the first number in subfield a or h (first occurrence only) of the c-tagged variable-length field. For example:

c090 a|PR3884.45

2

callNumericStart

Call number component

Numeric content up to the decimal point in subfield a or h (first occurrence only) of the c-tagged variable-length field. For example:

c090 a|PR3884.45

3

callNumericAfterDec

Call number component

The decimal point and the following numeric content in subfield a or h (first occurrence only) of the c-tagged variable-length field. For example:

c090 a|PR3884.45

4

callEndCR

Call number component

All remaining content (following the three elements above) in subfield a or h (first occurrence only) of the c-tagged variable-length field. For example:

c092 |a636.80887 WIL

5

callSubbCR

Call number component

All content in subfield b or i (first occurrence only) of the c-tagged variable-length field. For example:

C090 |aG4030 .s24|b.U52

6

callSuba

Call number component for pocket labels

All content following the first three elements listed above in subfield a or h (first occurrence only) of the c-tagged variable-length field. For example

c090 |aG4030 .s24|b.U52

7

call Subb

Call number component for pocket lables

All content in subfield b (first occurrence only) of the first c-tagged variable-length field. The leading decimal point is stripped and spaces are preserved. For example:

c092 |a004|b.A34 ONE TWO

8

callSubf

Call number prestamp

All content in subfield f (first occurrence only) of the first c-tagged variable-length field. For example:

c090 |aD842 mic 1992|fPicture Books|j1234|ktesting

9

callSubj

Call number shelving control number

All content in subfield j (first occurrence only) of the first c-tagged variable-length field. For example:

c090 |aD842 mic 1992|fPicture Books|j1234|ktesting

10

callSubK

Call number post-stamp

All content in subfield k (first occurrence only) of the first c-tagged variable-length field. For example:

c090 |aD842 mic 1992|fPicture Books|j1234|ktesting

11

itemFix58

Copy number

Fixed-length field 58from the item record.

12

itemFix79

Item location

Fixed-length field 79 from the item record.

13

itemFix79Len3

Item location

Fixed-length field 79 from the item record.

14

branchesLabel

Item location

Label, found in the branches file, that corresponds to data in fixed-length field 79 from the item record.

15

concatIndex

Concatenated author-title

Derived from values in your system’s settings. Uses content from subfield a (first occurrence only) of the first c-tagged variable length field. If the field is non-MARC, the entried field is used.

16

acctname

Library name

From the account name file. For multi-account sites, the library name from the accounting unit (account name file) associated with the user’s login name.

19-45

itema, itemb…itemz

Item variable-length fields

First instance of the a-z tagged variable-length fields from the item record.

45

concatIndexCR

Concatenated author-title

Derived from values in the system’s settings. Uses content from subfield a (first occurrence only) of the first c-tagged variable length field. If the field is non-MARC, the entire field is used.

46

callField

Call number

All content “as is” from subfield a or h of the c-tagged variable-length field.

47

itemFix58c

Copy number

Fixed-length field 58 from the item record, preceded by the text “c”.

48

callNumericAll

Call number component

A concatenation of the callNumericStart and callNumericAfterDec elements. For example:

c090 a|PR3884.45

49

callEntire

Call number

All content from the call number field, including all subfields and repeated subfields, with redundant spaces and delimiters removed.

50

callEntireCR

Call number

All content from the call number field, including all subfields and repeated subfields, with redundant spaces and delimiters converted to carriage returns.

51

callSubc

Call number component for pocket labels

All content from subfield c (first occurrence only) of the first c-tagged variable-length field. For example: 090 FIC|c1998|d345|pandrew

52

callSubp

Call number component for pocket labels

All content from the subfield p (first occurrence only) of the first c-tagged variable-length field. For example:

090 FIC |c1998|d345|pandrew

53

biba

Author

All content from subfields a-z from the first a-tagged field from the bibliographic record, regardless of MARC tag.

54

bib245b

Title

All content from the first occurrence of subfield b in the first 245 or 200 field from the bibliographic record, regardless of the field group tag.

55

bib245n

Title

All content from the first occurrence of subfield n in the first 245 or 200 field from the bibliographic record, regardless of the field group tag.

56

bib245p

Title

All content from the first occurrence of subfield p in the first 245 or 200 field from the bibliographic record, regardless of field group tag.

57

callSube

Call number component

All content in subfield s (first occurrence only) of the first c-tagged variable-length field.

For example:

c089 |a823.912|sTOL|cD|r2|e/2

58

callSubr

Call number component

All content in subfield e (first occurrence only) of the first c-tagged variable-length field. For example:

c089 |a823.912|sTOL|cD|r2|e/2

59

callSubs

Call number component

All content in subfield s (first occurrence only) of the first c-tagged variable-length field. For example:

c089 |a823.912|sTOL|cD|r2|e/2

Top of page

Importing a Template

Once you have a template complete, save it as a .jrxml file, and you can import it in Settings.

...

Related Documentation

Page Properties
Filter by label
showLabelsfalse
cqllabel in ( "print_templates" , "printing" , "cataloger" , "kb-how-to-article" )

...