Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - maw

Pages: [1]
1
z/OS Server / Re: ARSLOAD JCL Input from OMVS/USS
« on: June 30, 2023, 11:04:40 AM »
look at member arsivpj1 in the SARSINST library created  with the instal. It does what you are requesting with AFP and should work with XML.   Or execute the arsload command directly from an omvs prompt it one time. If it is reocurring put within a shell script

JCL
//STEP1     EXEC PGM=ARSLOAD,REGION=0M,                               
//         PARM=('/-u ADMIN -p <password> -h ARCHIVE -n -v -s OBJINPT
//             -Z ivp -g "ARSIVPR1"   tempname')                     
//STEPLIB    DD DISP=SHR,DSN=&ARS..SARSLOAD                           
//           DD DISP=SHR,DSN=&DB2..&DB2NAME..SDSNEXIT                 
//           DD DISP=SHR,DSN=&DB2..SDSNLOAD                           
//           DD DISP=SHR,DSN=&DB2..SDSNLOD2                           
//ARSBIN     DD PATH='/usr/lpp/ars/V10R1M0/bin'                       
//SYSPRINT   DD SYSOUT=*,DCB=(RECFM=FBA,LRECL=134,BLKSIZE=134)       
//OBJINPT    DD PATH='/usr/lpp/ars/V10R1M0/samples/ARSIVPR1.out',     
//            LRECL=133,RECFM=FBA,                                   
//            FILEDATA=TEXT,PATHOPTS=(ORDONLY),                       
//            PATHDISP=(KEEP,KEEP)                                   
//INPSTATS   DD SYSOUT=*                                             
//INDSTATS   DD SYSOUT=*                                             
//SYSOUT     DD SYSOUT=*                                             
//STDERR     DD SYSOUT=*                                             
//STDOUT     DD SYSOUT=*                                             
//SYSUDUMP   DD SYSOUT=*               


Script with arsload command that could have v]been executed at omvs prompt             

                  cd /PRODUCTS/ars/V10R5M0/bin                                           
 export STEPLIB=SYS22.CMOD.V10R5M0.SARSLOAD                             
 export DSNAOINI='/etc/ars/cli.ini'                                     
 arsload -I ARCHIVE -u xxxx - p xxxx -G AGNAME -a APPNAME -d /DIRNAME    filetolaodname

2
z/OS Server / Re: Report Loads To Which Collection?
« on: April 03, 2023, 06:38:27 AM »
in the storage set, one on the nodes (collection names) should have load data checked. Iit will have an asterik by it in the list. Or you can open each node and see if load data is checked.  One variation....if you use the report id exit  ( -E on arsload ). It picks up the collection name from table ODSCRT instead of the storage set.

3
We load AFP documents from a windows box to CMOD on z/os. ARSLOAD is running as a service on the windows box. Twice now the security was removed that provided delete authority from the id that runs the ARSLOAD service. The load works fine but the file is not deleted. What this means is that the same set of 10 files were loaded thousands of times, spawning many new DB2 tables. We noticed it days later when the folder query response went to hell doing a union on 82 tables.

CMOD support says not their issue. I am fighting this because it’s a documented feature to delete the file, and minimally I believe a syslog record should be cut because the delete failed. However, they are not budging.

What I did was write a program that runs hourly and looks back 3 hours in the system load table to ensure no duplicate file names in the input_file_name column. While this catches the issue much quicker, we still have the potential to have many hundreds of loads to remove.

Any ideas on a more proactive approach? I am at wits end on this one.

Is there a way to read the security on the windows box, or a log to see that it was changed? Being windows server illiterate, I am unsure where to start.

4
Windows Client / Re: CMOD 10.1.0.5 PDF indexer not loading
« on: January 25, 2021, 01:37:43 PM »
its been a long time, so brain is a little foggy...… but at one time I do know if one of them ( client or adobe) was 64 bit, it would not load in the pdf graphical indexer

5
Windows Client / automated object compare
« on: August 21, 2020, 08:48:28 AM »
within the admin client you can compare two objects for differences. For example compare folder XXX in DEV versus folder XXX in production. We have the requirement to do this weekly against all objects. The help shows this

Comparing objects command
About this task
Use the Compare objects command to compare two applications, two application groups, or two folders. The comparison information is written to a file and displayed in a browser

Are they referring to just the admin client functionality, or is there a command we can execute within a script? They say command, so I am hoping it is externalized from the client, and usable outside of it.

Pages: [1]