SlideShare a Scribd company logo
1 of 19
Download to read offline
Aleph Custom Services
                for Circulation


               Services for Patrons and Bills




                                 ENUG 2011
10/28/2011
                       Steve Bischof Five Colleges Inc.
The Basics
• Exlibris provides a frame work to create
  custom services
• Modify existing services
• Create new services




                            ENUG 2011
10/28/2011
                  Steve Bischof Five Colleges Inc.
A how-to primer
• A great presentation on custom services with
  simple examples on Support Web
• How to make custom services by Yoel Kortick

• http://www.customercenter.exlibrisgroup.com/DocumentationCenter/Ex
  %20Libris%20Documentation/Aleph/Support/How%20To%20from%20S
  upport%20by%20subject/Miscellaneous/How_to_make_custom-
  services.ppt




                                   ENUG 2011
10/28/2011
                         Steve Bischof Five Colleges Inc.
Straight from Yoel
• Custom programs for custom services must be
  placed in the $aleph_proc directory (alias ap).
• Typically the service file name in $aleph_proc will be
  called p_custom_nn (such as p_custom_01), It may
  however be called anything you want, such as
  p_custom_jimmy_01
• The screens for custom services must be placed in
  $aleph_root/pc_b_eng (or $alephe_root/pc_b_eng
  depending on setup)

                               ENUG 2011
10/28/2011
                     Steve Bischof Five Colleges Inc.
Service #1:Patron Editing
• Select a group of Patron (i.e ret_01)
• Be able to view those patron records
• Edit patron via a global change (i.e. manage-21)




                             ENUG 2011
10/28/2011
                   Steve Bischof Five Colleges Inc.
Retrieve Patron Records




                         ENUG 2011
10/28/2011
               Steve Bischof Five Colleges Inc.
Output
• Two files– A list of Patron IDs and a
  spreadsheet of Patrons selected ***




                            ENUG 2011
10/28/2011
                  Steve Bischof Five Colleges Inc.
Sql Select
select * from FCL00.Z303, $p_active_library.Z305
where
CONCAT(Z303_REC_KEY,'$p_active_library')=Z305_REC_KEY
andZ305_EXPIRY_DATE between '$p6' and '$p7'
andZ305_BOR_STATUS like '$p4%'
andZ303_HOME_LIBRARY like '$p3%'
andZ303_REC_KEY between '$p8' and '$p9'
$cp5;



***(SET MARKUP HTML ON)
                              ENUG 2011
10/28/2011
                    Steve Bischof Five Colleges Inc.
Adding conditionals
if ($p8 == "") then
     set p8="0%“
ndif
if ($p9 == "") then
    set p9="z%“
endif
if ("$p5" != "") then
      set cp5="and Z303_PROFILE_ID like '""$p4""'“
    else
      set cp5="“
endif
                                  ENUG 2011
10/28/2011
                        Steve Bischof Five Colleges Inc.
Global change!




                          ENUG 2011
10/28/2011
                Steve Bischof Five Colleges Inc.
Create Temp Table & Update
cp $data_print/$p1
/exlibris/aleph/u20_1/fcl00/scratch/z305tempload.dat
sqlldr userid=$ALEPH_ADMIN
control=$aleph_proc/z305temp.ctl
log=$data_print/$p1.oracload.log
______________________________________________
update FCL00.Z303
set Z303_UPDATE_DATE=$udate$uc3$uc4$uc5$uc6
where Z303_REC_KEY IN
(select SBZ305_REC_KEY from FCL00.SBTEMP_Z305ID);

                               ENUG 2011
10/28/2011
                     Steve Bischof Five Colleges Inc.
Conditionals to Update
if ($p3 != "") then set uc3=", Z303_HOME_LIBRARY='"$p3"'“
else       set uc3="“
endif
if ("$p4" != "") then set uc4=", Z303_PROFILE_ID='""$p4""'“
else       set uc4="“
endif
if ($p5 != "") then set uc5=", Z303_TITLE_REQ_LIMIT="$p5
else      set uc5="“
endif
if ("$p6" != "") then set uc6=", Z303_FIELD_2='""$p6""'“
else      set uc6="“
endif

                                      ENUG 2011
10/28/2011
                            Steve Bischof Five Colleges Inc.
Service #2 Cash-05 plus
• Currently Cash-05 only allows the ability to
  select by Sublibrary and date range
• Modify Cash-05 to include selection by
  Transaction Type and Patron Status

• Instead of writing a service from scratch, just
  replace the transaction selection process


                            ENUG 2011
10/28/2011
                  Steve Bischof Five Colleges Inc.
ENUG 2011
10/28/2011
             Steve Bischof Five Colleges Inc.
Deconstruct the Service
cobrun b_cash_05_a

$aleph_sort -o ${dd_TP1}_sorted ${dd_TP1} mv
${dd_TP1}_sorted ${dd_TP1}

cobrun b_cash_05_b
cobrun b_cash_05_c

                          ENUG 2011
10/28/2011
                Steve Bischof Five Colleges Inc.
Replace b_cash_05_a
select concat(substr(Z31_REC_KEY,1,12),' '),
Z31_REC_KEY
from $p_active_library.Z31, FCL00.Z303
where Z31_DATE_X between '$p2' and '$p3'
and substr(Z31_REC_KEY,1,12)=Z303_REC_KEY
and $q6 $q9 $q8
Z31_STATUS like 'O'



                             ENUG 2011
10/28/2011
                   Steve Bischof Five Colleges Inc.
Conditionals to Query
if ("$sp6" != "") then set q6="Z31_SUB_LIBRARY in ('""$sp6""') and “
else     set q6="“
endif
if ("$sp9" != "") then set q9="Z31_TYPE IN ('""$sp9""') and “
else     set q9="“
endif
if ("$sp8" != "") then set q8="((concat(Z303_REC_KEY, '"$p_active_library"')
IN ( select Z305_REC_KEY from "$p_active_library".Z305
where Z305_BOR_STATUS IN ("$sp8"))) or (concat(Z303_REC_KEY, 'ALEPH')
IN ( select Z305_REC_KEY from FCL00.Z305 where Z305_BOR_STATUS IN
("$sp8") and Z305_REC_KEY NOT LIKE '"$libname"%'))) and “
else     set q8="“
endif
                                      ENUG 2011
10/28/2011
                            Steve Bischof Five Colleges Inc.
Runs the same as Cash-05
• Just part a, selected the records to report is
  using the custom service.
• Part b & c of cash-05 still using the
  unmodified Cobol scripts




                             ENUG 2011
10/28/2011
                   Steve Bischof Five Colleges Inc.
Questions


Contact Information:
Steve Bischof
ILS coordinator, Five Colleges Inc.
Amherst, MA
sbischof@library.umass.edu

                            ENUG 2011
10/28/2011
                  Steve Bischof Five Colleges Inc.

More Related Content

Similar to Bischof custom-circ-ov

WebAssembly. Neither Web Nor Assembly, All Revolutionary
WebAssembly. Neither Web Nor Assembly, All RevolutionaryWebAssembly. Neither Web Nor Assembly, All Revolutionary
WebAssembly. Neither Web Nor Assembly, All RevolutionaryC4Media
 
Alliance 2017 - Jet Reports Tips and Trips
Alliance 2017 - Jet Reports Tips and TripsAlliance 2017 - Jet Reports Tips and Trips
Alliance 2017 - Jet Reports Tips and TripsSparkrock
 
Advanced Excel Features with Matt Hansen at StatStuff
Advanced Excel Features with Matt Hansen at StatStuffAdvanced Excel Features with Matt Hansen at StatStuff
Advanced Excel Features with Matt Hansen at StatStuffMatt Hansen
 
Building and Distributing PostgreSQL Extensions Without Learning C
Building and Distributing PostgreSQL Extensions Without Learning CBuilding and Distributing PostgreSQL Extensions Without Learning C
Building and Distributing PostgreSQL Extensions Without Learning CDavid Wheeler
 
What's coming in Java EE 8
What's coming in Java EE 8What's coming in Java EE 8
What's coming in Java EE 8David Delabassee
 
Jones aleph acqorders
Jones aleph acqordersJones aleph acqorders
Jones aleph acqordersENUG
 
Ruby on Rails: Tasty Burgers
Ruby on Rails: Tasty BurgersRuby on Rails: Tasty Burgers
Ruby on Rails: Tasty BurgersAaron Patterson
 
Bis 155 papers learn by doing bis155papers.com
Bis 155 papers learn by doing  bis155papers.comBis 155 papers learn by doing  bis155papers.com
Bis 155 papers learn by doing bis155papers.comleonardjonh19
 
Storing Time Series Metrics With Cassandra and Composite Columns
Storing Time Series Metrics With Cassandra and Composite ColumnsStoring Time Series Metrics With Cassandra and Composite Columns
Storing Time Series Metrics With Cassandra and Composite ColumnsJoe Stein
 
Nancy Soule Business Intelligence Potfolio
Nancy Soule Business Intelligence PotfolioNancy Soule Business Intelligence Potfolio
Nancy Soule Business Intelligence Potfolionsoule
 
Ebs dba con4696_pdf_4696_0001
Ebs dba con4696_pdf_4696_0001Ebs dba con4696_pdf_4696_0001
Ebs dba con4696_pdf_4696_0001jucaab
 
Ansibleではじめるサーバー・ネットワークの自動化(2019/02版)
Ansibleではじめるサーバー・ネットワークの自動化(2019/02版)Ansibleではじめるサーバー・ネットワークの自動化(2019/02版)
Ansibleではじめるサーバー・ネットワークの自動化(2019/02版)akira6592
 
ISSTA 2010 Presentation
ISSTA 2010 PresentationISSTA 2010 Presentation
ISSTA 2010 PresentationJulian Dolby
 

Similar to Bischof custom-circ-ov (14)

WebAssembly. Neither Web Nor Assembly, All Revolutionary
WebAssembly. Neither Web Nor Assembly, All RevolutionaryWebAssembly. Neither Web Nor Assembly, All Revolutionary
WebAssembly. Neither Web Nor Assembly, All Revolutionary
 
Alliance 2017 - Jet Reports Tips and Trips
Alliance 2017 - Jet Reports Tips and TripsAlliance 2017 - Jet Reports Tips and Trips
Alliance 2017 - Jet Reports Tips and Trips
 
Advanced Excel Features with Matt Hansen at StatStuff
Advanced Excel Features with Matt Hansen at StatStuffAdvanced Excel Features with Matt Hansen at StatStuff
Advanced Excel Features with Matt Hansen at StatStuff
 
Building and Distributing PostgreSQL Extensions Without Learning C
Building and Distributing PostgreSQL Extensions Without Learning CBuilding and Distributing PostgreSQL Extensions Without Learning C
Building and Distributing PostgreSQL Extensions Without Learning C
 
What's coming in Java EE 8
What's coming in Java EE 8What's coming in Java EE 8
What's coming in Java EE 8
 
Jones aleph acqorders
Jones aleph acqordersJones aleph acqorders
Jones aleph acqorders
 
Ruby on Rails: Tasty Burgers
Ruby on Rails: Tasty BurgersRuby on Rails: Tasty Burgers
Ruby on Rails: Tasty Burgers
 
Bis 155 papers learn by doing bis155papers.com
Bis 155 papers learn by doing  bis155papers.comBis 155 papers learn by doing  bis155papers.com
Bis 155 papers learn by doing bis155papers.com
 
Storing Time Series Metrics With Cassandra and Composite Columns
Storing Time Series Metrics With Cassandra and Composite ColumnsStoring Time Series Metrics With Cassandra and Composite Columns
Storing Time Series Metrics With Cassandra and Composite Columns
 
Nancy Soule Business Intelligence Potfolio
Nancy Soule Business Intelligence PotfolioNancy Soule Business Intelligence Potfolio
Nancy Soule Business Intelligence Potfolio
 
Ebs dba con4696_pdf_4696_0001
Ebs dba con4696_pdf_4696_0001Ebs dba con4696_pdf_4696_0001
Ebs dba con4696_pdf_4696_0001
 
Ansibleではじめるサーバー・ネットワークの自動化(2019/02版)
Ansibleではじめるサーバー・ネットワークの自動化(2019/02版)Ansibleではじめるサーバー・ネットワークの自動化(2019/02版)
Ansibleではじめるサーバー・ネットワークの自動化(2019/02版)
 
Clinical data eav
Clinical data eavClinical data eav
Clinical data eav
 
ISSTA 2010 Presentation
ISSTA 2010 PresentationISSTA 2010 Presentation
ISSTA 2010 Presentation
 

More from ENUG

Jaffe o'brien-rosetta
Jaffe o'brien-rosettaJaffe o'brien-rosetta
Jaffe o'brien-rosettaENUG
 
Yang enhance-voyager-user-innovations
Yang enhance-voyager-user-innovationsYang enhance-voyager-user-innovations
Yang enhance-voyager-user-innovationsENUG
 
Yang hofmann-next generationcatalogforenug
Yang hofmann-next generationcatalogforenugYang hofmann-next generationcatalogforenug
Yang hofmann-next generationcatalogforenugENUG
 
Wenger sf xin-barton
Wenger sf xin-bartonWenger sf xin-barton
Wenger sf xin-bartonENUG
 
Guy avoiding-dat apocalypse
Guy avoiding-dat apocalypseGuy avoiding-dat apocalypse
Guy avoiding-dat apocalypseENUG
 
Collins whats buggingyou-aleph
Collins whats buggingyou-alephCollins whats buggingyou-aleph
Collins whats buggingyou-alephENUG
 
Wagner whats buggingyou-voyager
Wagner whats buggingyou-voyagerWagner whats buggingyou-voyager
Wagner whats buggingyou-voyagerENUG
 
Oneal perl-code-to-extract-from-voyager
Oneal perl-code-to-extract-from-voyagerOneal perl-code-to-extract-from-voyager
Oneal perl-code-to-extract-from-voyagerENUG
 
Schwartz ez proxy-logs
Schwartz ez proxy-logsSchwartz ez proxy-logs
Schwartz ez proxy-logsENUG
 
Moulen digital bookplates
Moulen digital bookplatesMoulen digital bookplates
Moulen digital bookplatesENUG
 
Moulen aleph update
Moulen aleph updateMoulen aleph update
Moulen aleph updateENUG
 
Enug2011 innovative use-of_sfx_with_new_interface-final
Enug2011 innovative use-of_sfx_with_new_interface-finalEnug2011 innovative use-of_sfx_with_new_interface-final
Enug2011 innovative use-of_sfx_with_new_interface-finalENUG
 
Callahan princetonenug2011
Callahan princetonenug2011Callahan princetonenug2011
Callahan princetonenug2011ENUG
 
Baksik3 enug baksik_xmlinvoice
Baksik3 enug baksik_xmlinvoiceBaksik3 enug baksik_xmlinvoice
Baksik3 enug baksik_xmlinvoiceENUG
 
Baksik2 enug baksik_ebookplates
Baksik2 enug baksik_ebookplatesBaksik2 enug baksik_ebookplates
Baksik2 enug baksik_ebookplatesENUG
 
Baksik1 enug baksik_rest
Baksik1 enug baksik_restBaksik1 enug baksik_rest
Baksik1 enug baksik_restENUG
 
O neal columbia
O neal columbiaO neal columbia
O neal columbiaENUG
 
Moulen batch loadingebookspdf
Moulen batch loadingebookspdfMoulen batch loadingebookspdf
Moulen batch loadingebookspdfENUG
 

More from ENUG (18)

Jaffe o'brien-rosetta
Jaffe o'brien-rosettaJaffe o'brien-rosetta
Jaffe o'brien-rosetta
 
Yang enhance-voyager-user-innovations
Yang enhance-voyager-user-innovationsYang enhance-voyager-user-innovations
Yang enhance-voyager-user-innovations
 
Yang hofmann-next generationcatalogforenug
Yang hofmann-next generationcatalogforenugYang hofmann-next generationcatalogforenug
Yang hofmann-next generationcatalogforenug
 
Wenger sf xin-barton
Wenger sf xin-bartonWenger sf xin-barton
Wenger sf xin-barton
 
Guy avoiding-dat apocalypse
Guy avoiding-dat apocalypseGuy avoiding-dat apocalypse
Guy avoiding-dat apocalypse
 
Collins whats buggingyou-aleph
Collins whats buggingyou-alephCollins whats buggingyou-aleph
Collins whats buggingyou-aleph
 
Wagner whats buggingyou-voyager
Wagner whats buggingyou-voyagerWagner whats buggingyou-voyager
Wagner whats buggingyou-voyager
 
Oneal perl-code-to-extract-from-voyager
Oneal perl-code-to-extract-from-voyagerOneal perl-code-to-extract-from-voyager
Oneal perl-code-to-extract-from-voyager
 
Schwartz ez proxy-logs
Schwartz ez proxy-logsSchwartz ez proxy-logs
Schwartz ez proxy-logs
 
Moulen digital bookplates
Moulen digital bookplatesMoulen digital bookplates
Moulen digital bookplates
 
Moulen aleph update
Moulen aleph updateMoulen aleph update
Moulen aleph update
 
Enug2011 innovative use-of_sfx_with_new_interface-final
Enug2011 innovative use-of_sfx_with_new_interface-finalEnug2011 innovative use-of_sfx_with_new_interface-final
Enug2011 innovative use-of_sfx_with_new_interface-final
 
Callahan princetonenug2011
Callahan princetonenug2011Callahan princetonenug2011
Callahan princetonenug2011
 
Baksik3 enug baksik_xmlinvoice
Baksik3 enug baksik_xmlinvoiceBaksik3 enug baksik_xmlinvoice
Baksik3 enug baksik_xmlinvoice
 
Baksik2 enug baksik_ebookplates
Baksik2 enug baksik_ebookplatesBaksik2 enug baksik_ebookplates
Baksik2 enug baksik_ebookplates
 
Baksik1 enug baksik_rest
Baksik1 enug baksik_restBaksik1 enug baksik_rest
Baksik1 enug baksik_rest
 
O neal columbia
O neal columbiaO neal columbia
O neal columbia
 
Moulen batch loadingebookspdf
Moulen batch loadingebookspdfMoulen batch loadingebookspdf
Moulen batch loadingebookspdf
 

Recently uploaded

call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayMakMakNepo
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........LeaCamillePacle
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.arsicmarija21
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 

Recently uploaded (20)

call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up Friday
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Rapple "Scholarly Communications and the Sustainable Development Goals"
Rapple "Scholarly Communications and the Sustainable Development Goals"Rapple "Scholarly Communications and the Sustainable Development Goals"
Rapple "Scholarly Communications and the Sustainable Development Goals"
 

Bischof custom-circ-ov

  • 1. Aleph Custom Services for Circulation Services for Patrons and Bills ENUG 2011 10/28/2011 Steve Bischof Five Colleges Inc.
  • 2. The Basics • Exlibris provides a frame work to create custom services • Modify existing services • Create new services ENUG 2011 10/28/2011 Steve Bischof Five Colleges Inc.
  • 3. A how-to primer • A great presentation on custom services with simple examples on Support Web • How to make custom services by Yoel Kortick • http://www.customercenter.exlibrisgroup.com/DocumentationCenter/Ex %20Libris%20Documentation/Aleph/Support/How%20To%20from%20S upport%20by%20subject/Miscellaneous/How_to_make_custom- services.ppt ENUG 2011 10/28/2011 Steve Bischof Five Colleges Inc.
  • 4. Straight from Yoel • Custom programs for custom services must be placed in the $aleph_proc directory (alias ap). • Typically the service file name in $aleph_proc will be called p_custom_nn (such as p_custom_01), It may however be called anything you want, such as p_custom_jimmy_01 • The screens for custom services must be placed in $aleph_root/pc_b_eng (or $alephe_root/pc_b_eng depending on setup) ENUG 2011 10/28/2011 Steve Bischof Five Colleges Inc.
  • 5. Service #1:Patron Editing • Select a group of Patron (i.e ret_01) • Be able to view those patron records • Edit patron via a global change (i.e. manage-21) ENUG 2011 10/28/2011 Steve Bischof Five Colleges Inc.
  • 6. Retrieve Patron Records ENUG 2011 10/28/2011 Steve Bischof Five Colleges Inc.
  • 7. Output • Two files– A list of Patron IDs and a spreadsheet of Patrons selected *** ENUG 2011 10/28/2011 Steve Bischof Five Colleges Inc.
  • 8. Sql Select select * from FCL00.Z303, $p_active_library.Z305 where CONCAT(Z303_REC_KEY,'$p_active_library')=Z305_REC_KEY andZ305_EXPIRY_DATE between '$p6' and '$p7' andZ305_BOR_STATUS like '$p4%' andZ303_HOME_LIBRARY like '$p3%' andZ303_REC_KEY between '$p8' and '$p9' $cp5; ***(SET MARKUP HTML ON) ENUG 2011 10/28/2011 Steve Bischof Five Colleges Inc.
  • 9. Adding conditionals if ($p8 == "") then set p8="0%“ ndif if ($p9 == "") then set p9="z%“ endif if ("$p5" != "") then set cp5="and Z303_PROFILE_ID like '""$p4""'“ else set cp5="“ endif ENUG 2011 10/28/2011 Steve Bischof Five Colleges Inc.
  • 10. Global change! ENUG 2011 10/28/2011 Steve Bischof Five Colleges Inc.
  • 11. Create Temp Table & Update cp $data_print/$p1 /exlibris/aleph/u20_1/fcl00/scratch/z305tempload.dat sqlldr userid=$ALEPH_ADMIN control=$aleph_proc/z305temp.ctl log=$data_print/$p1.oracload.log ______________________________________________ update FCL00.Z303 set Z303_UPDATE_DATE=$udate$uc3$uc4$uc5$uc6 where Z303_REC_KEY IN (select SBZ305_REC_KEY from FCL00.SBTEMP_Z305ID); ENUG 2011 10/28/2011 Steve Bischof Five Colleges Inc.
  • 12. Conditionals to Update if ($p3 != "") then set uc3=", Z303_HOME_LIBRARY='"$p3"'“ else set uc3="“ endif if ("$p4" != "") then set uc4=", Z303_PROFILE_ID='""$p4""'“ else set uc4="“ endif if ($p5 != "") then set uc5=", Z303_TITLE_REQ_LIMIT="$p5 else set uc5="“ endif if ("$p6" != "") then set uc6=", Z303_FIELD_2='""$p6""'“ else set uc6="“ endif ENUG 2011 10/28/2011 Steve Bischof Five Colleges Inc.
  • 13. Service #2 Cash-05 plus • Currently Cash-05 only allows the ability to select by Sublibrary and date range • Modify Cash-05 to include selection by Transaction Type and Patron Status • Instead of writing a service from scratch, just replace the transaction selection process ENUG 2011 10/28/2011 Steve Bischof Five Colleges Inc.
  • 14. ENUG 2011 10/28/2011 Steve Bischof Five Colleges Inc.
  • 15. Deconstruct the Service cobrun b_cash_05_a $aleph_sort -o ${dd_TP1}_sorted ${dd_TP1} mv ${dd_TP1}_sorted ${dd_TP1} cobrun b_cash_05_b cobrun b_cash_05_c ENUG 2011 10/28/2011 Steve Bischof Five Colleges Inc.
  • 16. Replace b_cash_05_a select concat(substr(Z31_REC_KEY,1,12),' '), Z31_REC_KEY from $p_active_library.Z31, FCL00.Z303 where Z31_DATE_X between '$p2' and '$p3' and substr(Z31_REC_KEY,1,12)=Z303_REC_KEY and $q6 $q9 $q8 Z31_STATUS like 'O' ENUG 2011 10/28/2011 Steve Bischof Five Colleges Inc.
  • 17. Conditionals to Query if ("$sp6" != "") then set q6="Z31_SUB_LIBRARY in ('""$sp6""') and “ else set q6="“ endif if ("$sp9" != "") then set q9="Z31_TYPE IN ('""$sp9""') and “ else set q9="“ endif if ("$sp8" != "") then set q8="((concat(Z303_REC_KEY, '"$p_active_library"') IN ( select Z305_REC_KEY from "$p_active_library".Z305 where Z305_BOR_STATUS IN ("$sp8"))) or (concat(Z303_REC_KEY, 'ALEPH') IN ( select Z305_REC_KEY from FCL00.Z305 where Z305_BOR_STATUS IN ("$sp8") and Z305_REC_KEY NOT LIKE '"$libname"%'))) and “ else set q8="“ endif ENUG 2011 10/28/2011 Steve Bischof Five Colleges Inc.
  • 18. Runs the same as Cash-05 • Just part a, selected the records to report is using the custom service. • Part b & c of cash-05 still using the unmodified Cobol scripts ENUG 2011 10/28/2011 Steve Bischof Five Colleges Inc.
  • 19. Questions Contact Information: Steve Bischof ILS coordinator, Five Colleges Inc. Amherst, MA sbischof@library.umass.edu ENUG 2011 10/28/2011 Steve Bischof Five Colleges Inc.