Author Topic: Unload call  (Read 95 times)

Lars Bencze

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
Unload call
« on: October 26, 2018, 02:46:42 AM »
Hi all, maybe it's just me, but I'd like to have an ODAPI call that does Unload.
A swift way to remove botched loads without needing to have the thick OD client installed, nor need to file a case and send it to the OnDemand Administrator.

Has anyone found another smooth solution for this?
#Multiplatforms #PDFIndexing #TSM #DB2 #Customizing #Integration #UserExits

Ed_Arnold

  • Hero Member
  • *****
  • Posts: 799
    • View Profile
Re: Unload call
« Reply #1 on: October 26, 2018, 05:45:55 AM »
Here's what I do on z/OS (I know, I know).

Perhaps you could script up something similar on whatever platform you're on:

//     JOB
//L1      SET  AG='"Daily sales invoices"'                           
//L2      SET  H=ARCH950                                             
//L3      SET  LOADID=5052-1-0-92FAA-0-0-5053                       
//STEP1    EXEC PGM=ARSADMIN,REGION=0M,                             
//   PARM=('/unload -h &H -g &AG -L &LOADID -u odv733   -p cmodrocks')
//STEPLIB  DD DISP=SHR,DSN=ARS.ARSV950.SARSLOAD                     
//SYSPRINT DD SYSOUT=*                                               
//SYSOUT   DD SYSOUT=*                                               
//ARSBIN     DD PATH='/usr/lpp/ars/V9R5M0/bin'                       
//SYSPRINT   DD SYSOUT=*,DCB=(RECFM=FBA,LRECL=134,BLKSIZE=134)       
//SYSOUT     DD SYSOUT=*   
                                         

Ed
#zOS #ODF

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 1597
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: Unload call
« Reply #2 on: October 26, 2018, 06:54:32 AM »
Sounds like an enhancement request.  :)  Should I move this post over there, so it can be added to our enhancement request list in February?

-JD.
#Install, #Educate, #Repair, #Upgrade, #Migrate, #Enhance, #Optimize.

IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SA #Performance #Security #Audits #Customizing #Availability #HA #DR #Training

Alessandro Perucchi

  • Hero Member
  • *****
  • Posts: 957
    • View Profile
Re: Unload call
« Reply #3 on: November 22, 2018, 10:27:00 AM »
Except the enhancement proposition, the only way to do a "unload" would be to call the "arsadmin unload" command from Java.
Alessandro Perucchi

#Install #Migrations #Conversion #Educate #Repair #Upgrade #Migrate #Enhance #Optimize #AIX #Linux #Multiplatforms #DB2 #Windows #Oracle #TSM #Tivoli #Performance #Audits #Customizing #Availability #HA #DR #JavaApi #ContentNavigator #ICN #WEBi #ODWEK #Services #PDF #AFP #XML