Coder Social home page Coder Social logo

Comments (2)

irisbaron avatar irisbaron commented on August 22, 2024

@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 publication DFSMSdfp 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.

simpleDgq avatar simpleDgq commented on August 22, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.