Author Topic: ODSSGET in Anystore Exit stuck on first DDNAME  (Read 99 times)

Nolan

  • Global Moderator
  • Full Member
  • *****
  • Posts: 137
    • View Profile
ODSSGET in Anystore Exit stuck on first DDNAME
« on: October 28, 2019, 08:16:48 AM »
Hello folks, we have upgraded our test system to 10.1.0.4 and in testing the Anystore exit via ARSLOAD it fails on a 2nd file being processed.  The ODSSGET module is stuck pointing to the EOF of the inital DDNAME loaded.

@rjchavez said years ago

"The ODSSGET routine is called to OPEN, READ, and CLOSE files including the actual report files.  These traditional MVS services were causing the issue (still not sure why).  I changed the exit to use FOPEN, FREAD, and FCLOSE instead.  This corrected the problem."  - http://www.odusergroup.org/forums/index.php?topic=1777.0

I don't have any documentation on ODSSGET as like others, Lab Services provided it without source code. :(

Q1. FOPEN/FREAD/FCLOSE?  Is that part of ODSSGET or something written in C?
Q2. Does anyone know how to reset the ODSSGET (initialize it).  I have tried ODSSGET-CLOSE and ODSSGET-OPEN but the results are the same.  Remains pointing to the EOF on initial DDNAME.

Initial Load
Init Call ODSSGET           
Set ODSSGET-OPEN to True
ODSSGET-DDNAME     :SYS00001
ODSSGET-RETURN-CODE:00000   
ODSSGET-REASON-CODE:00000   
ODSSGET-DDNAME     :SYS00001
ODSSGET-ACTION     :OPEN   
...
Terminate Anyssotre Exit with ODSSGET-CLOSE
Set ODSSGET-CLOSE to True
Perform CALL-ODSSGET.   
ODSSGET-DDNAME     :SYS00001
ODSSGET-RETURN-CODE:00001   
ODSSGET-REASON-CODE:01001   
...
2nd file
Init Call ODSSGET             
Set ODSSGET-OPEN to True
CEE3201S The system detected an operation exception (System Completion Code=0C1)


Any suggestions are welcome.

Thanks



J.

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

Ed_Arnold

  • Hero Member
  • *****
  • Posts: 897
    • View Profile
Re: ODSSGET in Anystore Exit stuck on first DDNAME
« Reply #1 on: November 21, 2019, 02:48:18 PM »
Mr. Nolan -

I have no truly helpful suggestions.

But as long as you're in test can I at least convince you to get fully up-to-date with CMOD service?

There have been several PTFs for various ailments since 10.1.0.4:

UI59016  10.1.0.4
UI59126
UI59607
UI59715
UI61052
UI61995
UI62202
UI62508
UI63384
UI63542
UI64056
UI64740 10.1.0.5
UI65475
UI65845


Admittedly none of them are a match for what you're doing, especially as you're dealing with exit woes, but as my nephew the veterinarian likes to say, "Couldn't hurt, might help."

Ed

#zOS #ODF