/*********************************************************************/
/*                                                                   */
/* (c) Copyright IBM Corp. 1998                                      */
/* All Rights Reserved                                               */
/* Licensed Materials - Property of IBM                              */
/*                                                                   */
/* DISCLAIMER OF WARRANTIES.                                         */
/*                                                                   */
/* The following [enclosed] code is generated by a software product  */
/* of IBM Corporation.                                               */
/* This generated code is provided to you solely for the purpose of  */
/* assisting you in the development of your applications.            */
/* The code is provided "AS IS." IBM MAKES NO WARRANTIES, EXPRESS    */
/* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES   */
/* OF NONINFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR  */
/* PURPOSE, REGARDING THE FUNCTION OR PERFORMANCE OF THIS CODE.      */
/* IBM shall not be liable for any damages arising out of your use   */
/* of the generated code, even if it has been advised of the         */
/* possibility of such damages.                                      */
/*                                                                   */
/* DISTRIBUTION.                                                     */
/*                                                                   */
/* This generated code can be freely distributed, copied, altered,   */
/* and incorporated into other software, provided that:              */
/*   - It bears the above Copyright notice and DISCLAIMER intact     */
/*   - The software is not offered for resale                        */
/*                                                                   */
/*********************************************************************/

/************************************************************************/
/* Generated by IMS Web Studio 2.1.1	1998.252	10:18:13	*/
/* Userid:	pglezen						*/
/* Project:	test5					*/
/************************************************************************/

#ifndef HWSLPG01_HPP
#define HWSLPG01_HPP

#include "hwstin.hpp"
#include "hwsdmod.hpp"

#define HWSLPG01In_MAX_HWSMF008		10
#define HWSLPG01In_MAX_CMD		8
#define HWSLPG01In_MAX_NAME1		10
#define HWSLPG01In_MAX_NAME2		10
#define HWSLPG01In_MAX_EXT_		10
#define HWSLPG01In_MAX_ZIP		7

/*********************************************************/
/*                                                       */
/*  IMS Web generated transaction input class definition.*/
/*                                                       */
/*  This class :                                         */
/*                                                       */
/*   - provides the execute method which compiles a      */
/*     list of all attribute values and calls the server */
/*     DLL for building and passing the message to IMS.  */
/*                                                       */
/*********************************************************/

class HWSLPG01In : public HWSTranIn {

	public:

		// LifeCycle
		HWSLPG01In();
		~HWSLPG01In();

		// Overloaded Method
		virtual HWSTranOut * execute();

		// Access Methods for Fields
		inline void setCMD(char * value) {setAttr("HWSMF009",value);};
		inline char * getCMD()    {return(getAttr("HWSMF009"));};
		inline void setNAME1(char * value) {setAttr("HWSMF00A",value);};
		inline char * getNAME1()    {return(getAttr("HWSMF00A"));};
		inline void setNAME2(char * value) {setAttr("HWSMF00B",value);};
		inline char * getNAME2()    {return(getAttr("HWSMF00B"));};
		inline void setEXT_(char * value) {setAttr("HWSMF00C",value);};
		inline char * getEXT_()    {return(getAttr("HWSMF00C"));};
		inline void setZIP(char * value) {setAttr("HWSMF00D",value);};
		inline char * getZIP()    {return(getAttr("HWSMF00D"));};

	private:

		// virtual HWSDList * export();

		char HWSMF008[HWSLPG01In_MAX_HWSMF008+1];
		char CMD[HWSLPG01In_MAX_CMD+1];
		char NAME1[HWSLPG01In_MAX_NAME1+1];
		char NAME2[HWSLPG01In_MAX_NAME2+1];
		char EXT_[HWSLPG01In_MAX_EXT_+1];
		char ZIP[HWSLPG01In_MAX_ZIP+1];

};

#endif
