Author Topic: Converting ARSBDIST to new ARSODF options  (Read 3113 times)

elweare

  • Guest
Converting ARSBDIST to new ARSODF options
« on: April 16, 2017, 05:41:16 PM »
Currently have ODF up and running with the -h and -S commands without issue

trying to replace existing JCL step in a batch job that use to execute ARSBDIST to ARSODF with the -d, -ef and -r options but I can't seem to make the option to override the parms into a file work properly....as anyone encountered this problem under 9.5.0.7

Ed_Arnold

  • Hero Member
  • *****
  • Posts: 1200
    • View Profile
Re: Converting ARSBDIST to new ARSODF options
« Reply #1 on: April 17, 2017, 11:48:16 AM »
(Other) Ed - I'm not following you.

For example, here's the EXEC line from my 9.5 instance ODF:

XXARSODF   EXEC PGM=ARSRMAIN,REGION=0M,               
XX   PARM=('-h ARCH950 -u odadmin -p giraffe -S -v -f')


> can't seem to make the option to override the parms into a file work properly


Can you elaborate?

Ed

#zOS #ODF

Nolan

  • Full Member
  • ***
  • Posts: 152
    • View Profile
Re: Converting ARSBDIST to new ARSODF options
« Reply #2 on: April 17, 2017, 01:53:59 PM »
I don't think the -ef is valid anymore.   It looks like all you need is -e

arsodf -I instancename -e -d 'Daily sales invoices' -r ASMITH

https://www.ibm.com/support/knowledgecenter/en/SSQHWE_9.5.0/com.ibm.ondemand.odf.doc/doddf329.htm

And I won't ask why Ed is not using a stash file :p




J.

#zOS #AIX #Windows #Multiplatforms
#DB2 #TSM #ODF #zODF #ODWEK
#CapacityPlanning #AFP #ReportDistribution
#Finance #ICN

elweare

  • Guest
Re: Converting ARSBDIST to new ARSODF options
« Reply #3 on: April 17, 2017, 04:20:59 PM »
Actually ODF running as a z/OS address space with unified logon is running find with a simple -h CMODX -S -v

We run special distributions where we create the entries...what was the ARSBDIST program is now ARSODF with different options...if I run the options inline on the PARM statement it works. If I try and force to a file in an example that IBM gave me I get a RC of 6. I've been using all types of combinations to no avail.

//ARSBDIST EXEC PGM=ARSODF,REGION=0M,PARMDD=ODFPARM                 
//STEPLIB  DD DSN=NSSP#.CMOD.SARSLOAD,DISP=SHR                       
//         INCLUDE MEMBER=DW11LOAD                                   
//DSNAOINI DD PATH='/usr/lpp/ars/V9R5M7/config/bdist.ini'           
//ARSBIN   DD PATH='/usr/lpp/ars/V9R5M7/bin'                         
//STATSOUT DD SYSOUT=*                                               
//SYSUDUMP DD SYSOUT=*                                               
//SYSOUT   DD SYSOUT=*                                               
//CEEDUMP  DD SYSOUT=*                                               
//ABNLIGNR DD DUMMY                                                 
//STATRPT  DD SYSOUT=*                                               
//ARSLOG   DD SYSOUT=*                                               
//ODFPARM  DD *,DCB=BLKSIZE=80                                       
-I CMODT                                                             
-e                                                                   
-d 'RM198 ODF TEST'                                                 
-r RM198                                                             
/*                                                                   

Ed_Arnold

  • Hero Member
  • *****
  • Posts: 1200
    • View Profile
Re: Converting ARSBDIST to new ARSODF options
« Reply #4 on: April 17, 2017, 05:45:52 PM »
Just a quick wild guess - haven't consulted any doc - try putting one parm per line:

-I
CMODT
-e
-d
'foo'
...

Ed
#zOS #ODF

Greg Ira

  • Full Member
  • ***
  • Posts: 240
    • View Profile
Re: Converting ARSBDIST to new ARSODF options
« Reply #5 on: April 18, 2017, 06:12:40 AM »
From my experience this is the only that format works for me (9.5.0.7) .
//ARSBDIST EXEC PGM=ARSODF,REGION=0M,
//    PARM=('/-I CMODT -d "RM198 ODF TEST" -r rm198')             
//STEPLIB  DD DSN=NSSP#.CMOD.SARSLOAD,DISP=SHR                       
//         INCLUDE MEMBER=DW11LOAD                                   
//DSNAOINI DD PATH='/usr/lpp/ars/V9R5M7/config/bdist.ini'           
//ARSBIN   DD PATH='/usr/lpp/ars/V9R5M7/bin'                         
//STATSOUT DD SYSOUT=*                                               
//SYSUDUMP DD SYSOUT=*                                               
//SYSOUT   DD SYSOUT=*                                               
//CEEDUMP  DD SYSOUT=*                                               
//ABNLIGNR DD DUMMY                                                 
//STATRPT  DD SYSOUT=*                                               
//ARSLOG   DD SYSOUT=*                 


« Last Edit: April 18, 2017, 07:19:27 AM by Greg Ira »

elweare

  • Guest
Re: Converting ARSBDIST to new ARSODF options - got it to work
« Reply #6 on: April 18, 2017, 08:14:31 AM »
The input PARMS need to start in column 2, not 1,

PGM=ARSODF,PARMDD=ODFPARM

ODFPARM   DD *
etc




SDSF OUTPUT DISPLAY ELWCBDS2 J0408605  DSID   104 LINE 0       COLUMNS 02- 133                                                     
 COMMAND INPUT ===>                                            SCROLL ===> CSR                                                     
********************************* TOP OF DATA *************************************************************************************
ARS7987I Recipient = RM198, Distribution Name = RM198 ODF TEST, DST Reads = 2, BDT Reads = 1, DRT Inserts = 1, PPT                 
Unchecked Inserts = 2, PPT Checked Inserts = 2                                                                                     
******************************** BOTTOM OF DATA ***********************************************************************************

000010 //ARSBIN   DD PATH='/usr/lpp/ars/V9R5M7/bin'                                               
000011 //STATSOUT DD SYSOUT=*                                                  00070001           
000012 //SYSUDUMP DD SYSOUT=*                                                  00080001           
000013 //SYSOUT   DD SYSOUT=*                                                  00081001           
000014 //CEEDUMP  DD SYSOUT=*                                                  00090000           
000015 //ABNLIGNR DD DUMMY                                                     00100000           
000016 //STATRPT  DD SYSOUT=*                                                  00100000           
000017 //ARSLOG   DD SYSOUT=*                                                  00100000           
000018 //ODFPARM  DD *                                                         00110003           
000019  -h CMODT                                                                                 
000020  -ef                                                                                       
000021  -r "RM198"                                                                               
000022  -d "RM198 ODF TEST"                                                                       
000023  -v                                                                                       
****** ****************************************************** Bottom of Data *********************
                                                                                                 

Ed_Arnold

  • Hero Member
  • *****
  • Posts: 1200
    • View Profile
Re: Converting ARSBDIST to new ARSODF options
« Reply #7 on: April 18, 2017, 11:09:45 AM »
Quote
And I won't ask why Ed is not using a stash file :p

Quote
Actually ODF running as a z/OS address space with unified logon is running fine with a simple -h CMODX -S -v

*clearing throat*

Other Ed - I think Mr. Nolan was busting my chops because I still use the -u and -p parms.   ;D

My excuses include my dog eating my stash file.   ::)

Ed

#zOS #ODF