호출 스텁 생성기 구성 파일 작성
사용자의 Rational® Application Developer 설치 위치를 식별하고 Java™ 데이터 바인딩 코드 생성을 제어하기 위해 호출 스텁을 작성할 수 있습니다.
시작하기 전에
COBOL 호출 스텁 생성기에서 생성하는 코드에 대한 Rational Application Developer 프로젝트를 작성하십시오.
이 태스크 정보
호출 스텁 생성기 구성 파일에는 Rational Application Developer 설치 위치를 식별하고 Java 데이터 바인딩 코드 생성을 제어하기 위한 설정이 포함됩니다. 구성 파일 위치는 명령행 호출을 위한 -configFile 설정 또는 Ant 호출을 위한 <csg> 태그에서 configFile 속성에 의해 지정됩니다.
구성 파일의 EclipseHome, WorkSpace 및 EclipseProjectName 필수 설정이 Rational Application Developer 설치에 대해 올바른지 확인하십시오.
프로시저
예
다음 샘플 csg.properties 호출 스텁 생성기 구성 파일을 참조하십시오.
# Configuration file for COBOLCallStubGenerator
#####
# EclipseHome specifies the installation location of Rational Application Developer.
#
EclipseHome=full_path_to_Eclipse_directory
#####
# Workspace specifies the location of the Rational Application Developer workspace.
# If it does not exist, the COBOLCallStubGenerator creates the workspace.
#
WorkSpace=full_path_to_workspace_directory
######
# EclipseProjectName specifies the project in the workspace
# that will receive the generated call stubs and bindings.
#
EclipseProjectName=Eclipse_project_name
#####
# The target operating system. The permitted options are: Win32, AIX and z/OS.
#
# PARAMETER - Required
# Platform=Win32
Platform=z/OS
#####
# The target codepage.
#
# PARAMETER - Required
CodePage=IBM1047
#####
# The floating point format has only two possible values:
# IEEE 754
# IBM Hexadecimal
# The default is IEEE 54
#
# PARAMETER - Required
FloatingPointFormat=IBM Hexadecimal
# PARAMETER - Required
ExternalDecimalSign=EBCDIC
# PARAMETER - Required
Endian=Big
# PARAMETER - Required
RemoteEndian=Little
# PARAMETER - Required
Quote=DOUBLE
# PARAMETER - Required
Trunc=STD
# PARAMETER - Required
Nsymbol=DBCS
#####
# Possible values for overwriteExistingClass are true or false.
#
# PARAMETER - Required
OverwriteExistingClass=true
#####
# Possible values for GenerationStyle are:
# Default, "Preserve case of names" or "Shorten names"
# Be sure to use quotes for values with space characters in them.
#
# PARAMETER
GenerationStyle=Default
#####
# Verbose sets the trace level to "debug".
# Values for Verbose are either true or false.
#
# PARAMETER - Optional
Verbose=false
다음에 수행할 작업
COBOL 호출 스텁 생성기를 실행하십시오. 명령행, Ant 태스크 또는 Rational Application Developer 그래픽 인터페이스로부터 호출 스텁 생성기를 실행할 수 있습니다.
COBOL 호출 스텁 생성기를 실행할 때 호출 스텁 생성기 구성 파일 이름에 완전한 경로를 지정하십시오. 명령행 호출을 위해 파일 이름을 지정하려면 -configFile 설정을 사용하십시오. Ant 및 그래픽 인터페이스 호출의 경우, <csg> 태스크에서 configFile 속성을 사용하여 파일 이름을 지정하십시오.