/*********************************************************************/
/*                                                                   */
/* (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 HWSLPG00_HPP
#define HWSLPG00_HPP

#include "hwstout.hpp"

#define HWSLPG00Out_MAX_MSG		40
#define HWSLPG00Out_MAX_CMD		8
#define HWSLPG00Out_MAX_NAME1		10
#define HWSLPG00Out_MAX_NAME2		10
#define HWSLPG00Out_MAX_EXT_		10
#define HWSLPG00Out_MAX_ZIP		7
#define HWSLPG00Out_MAX_SEGNO		4
#define HWSLPG00Out_MAX_SDATE		8

/**********************************************************/
/*                                                        */
/*  IMS Web generated transaction output class definition.*/
/*                                                        */
/*  This class :                                          */
/*                                                        */
/*   - provides the genHTML method which generates the    */
/*     HTML output based on the result of IMS tran.       */
/*                                                        */
/**********************************************************/

class HWSLPG00Out : public HWSTranOut {

	public:

		// LifeCycle
		HWSLPG00Out(HWSDList * fldList);
		~HWSLPG00Out();

		// Overloaded Method
		virtual char     * genHTML();
		virtual HWSLNode * genList();
		virtual HWSLNode * genDisplayList();

		// Access Methods for Fields
		inline char * getMSG()    {return(getAttr("HWSMF000"));};
		inline char * getCMD()    {return(getAttr("HWSMF001"));};
		inline char * getNAME1()    {return(getAttr("HWSMF002"));};
		inline char * getNAME2()    {return(getAttr("HWSMF003"));};
		inline char * getEXT_()    {return(getAttr("HWSMF004"));};
		inline char * getZIP()    {return(getAttr("HWSMF005"));};
		inline char * getSEGNO()    {return(getAttr("HWSMF006"));};
		inline char * getSDATE()    {return(getAttr("HWSMF007"));};

	private:

		HWSDList * fList;

		char MSG[HWSLPG00Out_MAX_MSG+1];
		char CMD[HWSLPG00Out_MAX_CMD+1];
		char NAME1[HWSLPG00Out_MAX_NAME1+1];
		char NAME2[HWSLPG00Out_MAX_NAME2+1];
		char EXT_[HWSLPG00Out_MAX_EXT_+1];
		char ZIP[HWSLPG00Out_MAX_ZIP+1];
		char SEGNO[HWSLPG00Out_MAX_SEGNO+1];
		char SDATE[HWSLPG00Out_MAX_SDATE+1];

};

#endif
