Comments (2)
@CarlosDGQ Dear Carlos, please see the response from the experts:
JZOS readDSCBChain javadoc refers to the DFSMSdfp publication for additional information:
- The function and return codes for the OBTAIN / CAMLST-SEARCH macro
are described in the IBM publicationDFSMSdfp Advanced Services - SC26-7400
.
Here is a link to the documentation:
https://www-01.ibm.com/servers/resourcelink/svc00100.nsf/pages/zOSV2R3SC236861/$file/idas300_v2r3.pdf
Pages 22 to pages 25 describes DSCB Types and several examples illustrated with pictures.
JZOS readDSCBchain returns a list of DSCBs associated with the dataset. Here is psedo code that demonstrates how to utilize the method and determines the type of each DCB in the returned chain:
String[] volumes = ZFile.locateDSN(ssqDsn);
String vol = volumes[0];
DSCB[] dscbs = ZFile.readDSCBChain(ssqDsn, vol);
for (i = 0; i < dscbs.length; i++) {
if (dscbs[i] instanceof Format1DSCB)
// a Format1DSCB
else if (dscbs[i] instanceof Format3DSCB)
// a Format3DSCB
else if (dscbs[i] instanceof Format8DSCB)
// a Format8DSCB
else if (dscbs[i] instanceof Format9DSCB)
// a Format9DSCB
}
Hope above information helps!
from java-samples.
Hi,
Thanks for your help. It's very useful to me. The problem has been resolved, I will close this issue.
from java-samples.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from java-samples.