All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ibm.as400.access.LicenseGetInformationRequest Maven / Gradle / Ivy

The newest version!
///////////////////////////////////////////////////////////////////////////////
//                                                                             
// JTOpen (IBM Toolbox for Java - OSS version)                              
//                                                                             
// Filename: LicenseGetInformationRequest.java
//                                                                             
// The source code contained herein is licensed under the IBM Public License   
// Version 1.0, which has been approved by the Open Source Initiative.         
// Copyright (C) 1997-2000 International Business Machines Corporation and     
// others. All rights reserved.                                                
//                                                                             
///////////////////////////////////////////////////////////////////////////////

package com.ibm.as400.access;


/** 

This class is used to set up the request license information datastream. * This class needs to be beefed up.

**/ class LicenseGetInformationRequest extends LicenseBaseRequest { private static final String copyright = "Copyright (C) 1997-2000 International Business Machines Corporation and others."; /**

RETRIEVE_LICENSE_INFO_DATASTREAM_SIZE - size of the retrieve licnese information datastream. * Includes the header and template (there currently are no optional parameters.

**/ static final int RETRIEVE_LICENSE_INFO_DATASTREAM_SIZE = 22; /**

PRODUCT_ID_LOCATION - Location of the type of information requested in the datastream.

**/ static final int INFORMATON_TYPE_LOCATION = 51; LicenseGetInformationRequest(AS400 system) { super(RETRIEVE_LICENSE_INFO_DATASTREAM_SIZE, system); setReqRepID(0x1003); // request id for retrieve license info. set16bit(1, INFORMATON_TYPE_LOCATION); // 1 = retrieve detailed information } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy