You are on page 1of 10

exec cics assign是一个在CICS Transaction Server中使用的指令,它的作用是将一个变量

的值赋给另一个变量。在CICS程序中,经常会用到这个指令来处理数据。
如果您正在寻找一个专业的写作服务来帮助您完成CICS程序的开发,我们强烈推荐
使用HelpWriting.net。这是一个拥有多年经验的专业团队,他们能够为您提供高质量的
CICS程序开发服务。

在HelpWriting.net,我们拥有一支经验丰富的团队,他们熟悉各种编程语言和技术,包括
CICS Transaction Server。无论您需要开发什么样的CICS程序,我们都能够为您提供最佳
的解决方案。
与其他写作服务不同的是,HelpWriting.net提供100% 原创的作品,确保您的CICS程序不
会存在任何抄袭问题。我们还提供免费的修改和客户支持服务,以确保您对最终作
品满意。
订购CICS程序开发服务非常简单,只需在HelpWriting.net网站上填写订单表格,提供您
的要求和截止日期,我们的团队将会立即开始为您开发。我们保证按时交付,并确保
作品质量。
不要再为CICS程序的开发而苦恼,让HelpWriting.net的专业团队来帮助您。访问我们的
网站并订购服务,您将获得高质量的CICS程序,为您的业务带来更大的成功。
Note it also places a timestamp in the record as mentioned earlier for use with the UPDATE. Of
course, there are other errors to contend with such as “file not open” as an example. Its user
SIGNON and SIGNOFF functions provide seamless integration with your existing CICS signon
process. Let’s explain this by way of a simple example using the Payroll System application. This has
two purposes. The first we just mentioned, the second is simply to unlock the fields on the 3270
display so the user can update only those fields they want to update. Session Agenda • Software
prerequisites • General external changes • Resource definition • Application and systems
programming interfaces • Global user exits • Monitoring and statistics • Functional changes •
Obsolete function removal • Documentation • Summary The DISPLAY routine is the first routine
highlighted here. It is normally the routine that simply reads a record and returns the contents to the
caller. The PIPE-TYPE has no meaning. The recognized values for PIPE-TYPE are only X'00' and
(X'C3' or X'D8) (X'C3' and X'D8' are the possible ASCII values for X'80' EBCDIC depending code-
page). On other value the response code is set to 12 and the reason code to 498. Desenvolvido por
DORNELLES Carlos Alberto - Analista de Sistemas - Brasília DF. - cad_cobol@hotmail.com For
each request to access a CICS resource, a command must be coded in the application logic.
EIBRESP andEIBRESP2. The response code in each field consists of a two-digit decimal condition
number. Java Programming Example import com.ibm.cics.server.*; public class Payroll { ... // create
the payroll_2005 channel Task t = Task.getTask(); Channel payroll_2005 = t.createChannel("payroll-
2005"); // create the employee container Container employee =
payroll_2005.createContainer("employee"); // put the employee name into the container
employee.put("John Doe"); // create the wage container Container wage =
payroll_2005.createContainer("wage"); // put the wage into the container wage.put("2000"); The
“Problem” • A 32k COMMAREA limitation exists for: • Program to program communication • In a
single CICS region • LINK • XCTL • Across CICS regions • Distributed Program Link • Task to task
communication • In a single CICS region and across CICS regions • START with data • RETURN
33. CICS Hello World – Sample Program 33 Step 1: Open a tso session. Step 2: Create a new PDS.
Step 3: Code the following program in a new member. There is also an additional piece of logic that
collects a write a timestamp into the record. 11. CICS Region CICS Nucleus Application program
TCA TIOA PCP PPT PCT SCPKCP TCT TCP Others LOADLIB Terminal DCA It has many useful
fields on entry. One is EIBCALEN which contains the commarea length. Over the years, new API
has been added, such as WEB, Asynchronous and SIGNAL EVENT commands. Channels… •
Lifetime • Creation • A channel is created by naming it on a command • EXEC CICS PUT
CONTAINER CHANNEL • EXEC CICS MOVE CONTAINER TOCHANNEL • EXEC CICS
LINK PROGRAM CHANNEL • EXEC CICS XCTL PROGRAM CHANNEL • EXEC CICS
RETURN TRANSID CHANNEL • EXEC CICS START TRANSID CHANNEL • Deletion • A
channel is deleted when it goes out of scope to any program in the linkage stack If the is omitted by
the client (without APPLID() EXCI EXEC interface option), the default_info service is called. This
service is advertised by the first DPL booted server. In this case, the data passed is the Customer
name and Betting shop location (Figure 7-11). The API consists of several parts (Figure 3-1). A
betting company is interested in bets placed over $10,000. If all DPL requests are done with
SYNCONRETURN and not under the RRMS control, no Resource Manager is required in the
Tuxedo Client. The initialization is done during the first EXCI request process and the Tuxedo
session is terminated at the end of the client process. The last piece of this code is the call to the
business logic (PAYBUS) to process the request. © 2024 SlideServe. All rights reserved Java
Programming… • Creating a new channel • Create a channel using the createChannel method of the
task class Task t = Task.getTask(); Channel custData = t.createChannel("Customer_Data"); If it is any
changes to a record are backed out if a failure occurs. A list of the conditions for each command can
be found in the command summary section of the Knowledge Center.
Show submenu for "Use Cases" section This "EXEC CICS" string tells the command-level translator
that an API command has been found. Legacy System Migration Workbench. lsm@sap.com. What
is. LSMW?. What is data migration ? / Subject of LSM Data transfer source: non-SAP systems
(“legacy systems”) target: SAP System Initial data transfer from non-SAP systems to an SAP
System 11. CICS 10 CICS itself acts as an operating system. Its job is to provide an environment for
online execution of application programs. CICS runs in one region or partition or address space.
CICS handles scheduling for programs running under it. CICS runs as a batch job and we can view
it in the spool by issuing the command PREFIX CICS*. There are five major services which are
provided by CICS. All these services together perform a task. CICSEnvironment Following are the
services which we will be discussing in detail step by step: System Services Data
Communication Services Data Handling Services Application Programming Services
Monitoring Services System Services CICS maintains control functions to manage the allocation
or de-allocation of resources within the system which are as follows: Task Control – Task control
provides task scheduling and multitasking features. It takes care of the status of all CICS tasks. Task
Control allocates the processor time among concurrent CICS tasks. This is called multitasking. CICS
tries to prioritize the response time to the most important task. Program Control – Program Control
manages loading and releasing of application programs. As soon as a task begins, it becomes
necessary to associate the task with the appropriate application program. Although many tasks may
need to use the same application program, CICS loads only one copy of the code into memory. Each
task threads its way through this code independently, so many users can all be running transactions
that are concurrently using the same physical copy of an application program. 2. CICS –
ENVIRONMENT Looking at the schematic diagram for a READ, shows that options FILE and
RIDFLD (which is the record key), are mandatory. Let’s have a look at what it does. To use EXCI
EXEC CICS Link command, the system.desc, transactions.desc, and program.desc configuration
files should be configured. If this is not set, then the update will take place. Monitoring • New
monitoring group DFHCHNL • PGTOTCCT • Total number of CICS requests for channel containers
for the task • PGBRWCCT • Number of browse requests for channel containers for the task •
PGGETCT • Number if GET CONTAINER requests for the task • PGPUTCT • Number of PUT
CONTAINER requests for the task • PGMOVCT • Number of MOVE CONTAINER requests for
the task • PGGETCDL • Total length, in bytes, of all the GET CONTAINER data returned •
PGPUTCDL • Total length, in bytes, of all the GET CONTAINER data returned SRRCMI and
SRRBACK fuctions must be coded as: Once done a routine called “DO-WORK” is performed and
then you can see a familiar CICS return statement that nominates the successor transaction with the
commarea in place. The _info service returns the associated to the server by the -s user parameter of
the server command line. Server Consolidation. Xiujiao Gao xiujiaog@buffalo.edu 12/02/2011.
Overview. Introduction Server consolidation problems and solutions Static Server Allocation
Problems (SSAP) and its extensions [1] Shares and Utilities based Server Consolidation [2] Use
Cases Rob Krajcik Bristol-Myers Squibb. Using the SAS Enhanced Editor. Topics. Why use the
Enhanced Editor? Editor Options Window Two Sets of Keys Opening Files Multiple Views Editor
Line Commands Explorer Window Context-Sensitive Help Viewtable Window Selecting Text Drag
and Drop Editing 3. References TITLE AUTHOR PUBLISHER CICS for COBOL programmer
Doug Lowe Mike Murach & Associates CICS Handbook Kageyama Tata McGraw Hill CICS
command level Programming Alida M Jatich John Wiley and Sons Inc., CICS using COBOL Andrew
M. Suhy Galgotia Once any special processing is complete, the business logic program will analyze
the request and give control to the routine that process it (Figure 4-11). 10. CICS Control Program
and Tables The core portion of CICS(called the CICS nucleus) consists of IBM-supplied CICS
control programs and corresponding user-specified CICS control tables. Paramedic Inter Facility
Transfer Training Section 1 PIFT Overview P aramedic I nter F acility T ransfer Interfacility Transfer
Interfacility transfer means the transfer of a patient from one health care facility (hospital, rehab,
nursing home, etc.) to another. Interfacility Transfer Leaving the remaining fields, the same as they
were. Unfortunately, in the bakers she must wait for bread to come out of the oven. Objectives •
Why • What is Available • Controlling Dump and Trace • AEI0 Abend • ASRA Abend Copyright (c)
2009 The Evans Group, Inc. Transaction 1 EXEC CICS START TRANSID(‘TRN2’)
FROM(structure) Transaction 2 EXEC CICS RETRIEVE INTO(structure) Exploiting Channels in
Application Programs… • Existing application with START data • Changed application using
Channels Transaction 1 EXEC CICS PUT CONTAINER(structure-name) CHANNEL(channel-
name) FROM(structure) EXEC CICS START TRANSID(‘TRN2’) CHANNEL(channel-name)
Transaction 2 EXEC CICS GET CONTAINER(structure-name) INTO(structure) Java
Programming… • Passing a channel to another program • Use the link() and xctl() methods of the
Program class programX.link(custData); programY.xctl(custData); • Passing a channel to another task
• Use the issue method of the StartRequest class StartRequest.issue(custData); • Use the
setNextChannel() method of the TerminalPrincipalFacility class:
terminalPF.setNextChannel(custData); These EIB response fields are placed in your program’s
LINKAGE SECTION, by the CICS translator at compile time. And then the command is terminated
with the string END-EXEC Pressing PF6 a second time invokes the DELETE code. 11. CICS
Region CICS Nucleus Application program TCA TIOA PCP PPT PCT SCPKCP TCT TCP Others
LOADLIB Terminal DCA The next readnext will read the record following the current record.
Planning Information • Enterprise Java Bean support • Will be removed in a future release of CICS
TS for z/OS • ONC RPC feature • Will be removed in a future release of CICS TS for z/OS • CICS
Web Interface COMMAREA interfaces • Will be removed in a future release of CICS TS for z/OS •
CICS Web Server plug-in • Will be removed in a future release of CICS TS for z/OS In general,
CICS returns the same values whether the transaction is local or remote. Task Related User Exits &
User Replaceable Modules • Task Related User Exits can create and pass channels and containers to
programs they call • User Replaceable Modules can create and pass channels and containers to
programs they call • URMs may not access contents of application channels A command-level
translator runs in conjunction with the COBOL compiler. On the second request it adds the record
presented by the user. Identifying the EXEC CICS Statement That Failed Step 3: Determine the
offset of the return into the CSECT. Subtract the CSECT offset (step 2(E) in the earlier slide) from
the load module offset (step 2(A) in the earlier slide. The result is the offset into the CSECT. Load
module offset 48C CSECT offset - 20 Offset into CSECT 46C Copyright (c) 2009 The Evans
Group, Inc. A Java method is identified as a “Target” for an EXEC CICS LINK (or START) in a
non-Java program. Statistics… Transaction Routing Requests Max Queue Time - Allocate Purge . . . .
: 0 ____________________________ Transaction Routing - Total . . . : 0 Allocates Purged - Max
Queue Time . . . : 0 Transaction Routing - Channel . : 0 Allocates Rejected - XZIQUE . . . . . . : 0
Function Shipping Requests XZIQUE - Allocate Purge . . . . . . . . : 0
__________________________ File Control. . . . . . . . . . : 0 Allocates Purged - XZIQUE . . . . . . . :
0 Interval Control - Total. . . . : 0 Interval Control - Channel. . : 0 Transient Data. . . . . . . . . : 0
Temporary Storage . . . . . . . : 0 Program Control - Total . . . . : 0 Program Control - Channel . . : 0
_______________________________________________ Total . . . . . . . . . . . . . . : 0 Bytes Sent by
Transaction Routing requests . . : 0 Average Bytes Sent by Routing requests. : 0 Bytes Received by
Transaction Routing requests : 0 Bytes Sent by Program Channel requests . . . . : 0 Average Bytes
Sent by Channel request . : 0 Bytes Received by Program Channel requests . . : 0 Bytes Sent by
Interval Channel requests. . . . : 0 Average Bytes Sent by Channel request . : 0 Bytes Received by
Interval Channel requests. . : 0 But, in cases where it is not possible to include the new SIGNAL
EVENT API into the program - for example, where the COBOL source has been lost - it is possible
for CICS to generate a business event without amending the application. The long list of “IF”
statements are simply checking to see if a field has been entered. This command is presented with
the key in which to start browsing from with the attribute GTEQ. This is accomplished by using and
testing flags sent by the caller. The EXCI interface uses the CICS application ID to address the
appropriate CICS region. The relationship between and is made via a specific DPL server service
named _info. Over the years, new API has been added, such as WEB, Asynchronous and SIGNAL
EVENT commands. Monitoring… • Changed monitoring group DFHPROG • PCDLCSDL • Total
length, in bytes, of the container data for a DPL • PCDLCRDL • Total length, in bytes, of the
container data returned from a DPL • PCLNKCCT • Number of LINK requests issued with the
channel option for this task • PCXCLCCT • Number of XCTL requests issued with the channel
option for this task • PCDPLCCT • Total length, in bytes, of the container data passed on XCTLs •
PCRTNCCT • Number of RETURN requests issued with the channel option for this task •
PCRTNCDL • Total length, in bytes, of the container data RETURNed Interestingly, the first thing
this program will do as part of step two is a READ with the update flag on the record about to be
deleted. © UNIVERSO COBOL 2013-2015. Tema Picture Window. Con la tecnología de Blogger.
Monitoring • New monitoring group DFHCHNL • PGTOTCCT • Total number of CICS requests for
channel containers for the task • PGBRWCCT • Number of browse requests for channel containers
for the task • PGGETCT • Number if GET CONTAINER requests for the task • PGPUTCT •
Number of PUT CONTAINER requests for the task • PGMOVCT • Number of MOVE
CONTAINER requests for the task • PGGETCDL • Total length, in bytes, of all the GET
CONTAINER data returned • PGPUTCDL • Total length, in bytes, of all the GET CONTAINER
data returned Options INTO and SET are alternatives, but you must have one of them. It does not
have to continuously “Poll” for the result. Identifying the EXEC CICS Statement That Failed • Step
2: Identify the CSECT in question • Subtract the RET value from the load point to get the offset into
the load module • In the compile/link output, find the link map • Find the first “class offset” that is
greater than the value derived in (A). • The PRIOR entry is the CSECT in question. • Write down the
offset of this CSECT. Copyright (c) 2009 The Evans Group, Inc. But these techniques have proved
to be non-trivial and notoriously difficult to implement for several reasons including timing windows.
The Architecture of Transaction Processing Systems. Chapter 26. Evolution of Transaction
Processing Systems. The basic components of a transaction processing system can be found in single
user systems. Using CICS Explorer®, an Event Binding is created to define Capture Specification
and link these to an Event Specification (Figure 7-8). The Power of Reading: Enhanced SSR. An
Opportunity to Make a Positive Impact on Your Future Academic and Personal Success. “The man
who does not read good books has no advantage over the man who cannot read them.” Mark Twain.
Questions You Might Have. What is Enhanced SSR? In this case, the program name is CUSTGET
(Figure 7-15). An example is raising a person’s salary.
Java Programming… • Browsing the current channel • Use the ContainerIterator object Task t =
Task.getTask(); ContainerIterator ci = t.containerIterator(); While (ci.hasNext()) { Container custRec
= ci.next(); // Process the container... } Java Programming • JCICS calls are provided to support Java
programs • com.ibm.cics.server.Channel • com.ibm.cics.server.Container •
com.ibm.cics.server.ContainerIterator At runtime, if the user program issues an EXEC CICS
command that matches the Capture point filter criteria defined by the event binding, then Event data
is passed to the relevant Adapter for formatting and then routed to the appropriate external event
consumer. Looking at the Dump (continued) PROGRAM INFORMATION FOR THE CURRENT
TRANSACTION Number of Levels 00000004 INFORMATION FOR PROGRAM AT LEVEL
00000004 of 00000004 Program Name LINK04 Invoking Program LINK03 Load Point 08BFD000
Program Length 00000D90 Entry Point 88BFD020 Addressing Mode AMODE 31 Language
Defined COBOL Language Deduced Unknown Commarea Address 09217C70 Commarea Length
0000000A Execution Key USER Data Location ANY Environment User application Copyright (c)
2009 The Evans Group, Inc. Event Processing is a CICS feature that can detect and respond to events
occurring within an application. 31. Attention Identifiers It indicates which method the terminal
operator has used to initiate the transfer of information from the terminal device to CICS. Example
IF EIBAID=DFHPF3 PERFORM END-ROUTINE. IF EIBAID =DFHPA1 PERFORM CANCEL-
ROUTINE. IF EIBAID =DFHENTER PERFORM NORMAL-ROUTINE. GO TO WRONG-KEY-
ROUTINE. 31 The “Problem” • A 32k COMMAREA limitation exists for: • Program to program
communication • In a single CICS region • LINK • XCTL • Across CICS regions • Distributed
Program Link • Task to task communication • In a single CICS region and across CICS regions •
START with data • RETURN A Java method is identified as a “Target” for an EXEC CICS LINK
(or START) in a non-Java program. PSW Address to Program Offset Cheat Sheet We don’t have to
worry about (1) and (2) because CICS gave us the offset (3) in the joblog message • Enter the PSW
value……………………. _________ • Subtract the program load point…….. - _________ • Equals
the offset into the load module = 4BB6 • Subtract the class offset of the CSECT - 20 • Equals the
offset into the program = 4B96of the failing statement • In the compile listing xref, find the
__________COBOL sequence number associatedwith the offset in (5) • In the compile listing
procedure division, locate the source EXEC CICS command. Copyright (c) 2009 The Evans Group,
Inc. The EXCI interface uses the CICS application ID to address the appropriate CICS region. The
relationship between and is made via a specific DPL server service named_info. And then the
command is terminated with the string END-EXEC Containers… • EXEC CICS DELETE •
CONTAINER (data-value) • Specifies the name (1-16 characters) of the container that is to be
deleted. • CHANNEL (data-value) • Optional. Specifies the name of the channel that owns the
container. If the channel name is not specified the current channel is used. Global User Exits… • New
exits • XISQLCL, XWSPRRWI, XWSPRROI, XWSPRROO, XWSPRRWO, XWSRQRWO,
XWSRQROO, XWSRQROI, XWSRQRWI, XWSSRRWO, XWSSRROO, XWSSRROI,
XWSSRRWI • Changed exits • Changes to support IPv6 • XWBAUTH, XWBOPEN, XWBSNDO •
Changes to support Breaking Event Address Register • XPCTA, XPCABND, XPCHAIR • Changes
to support extended z/Architecture • XSRAB • XRSINDI • Changes to support new resources •
Changes to support resource signatures These capture points are based on a subset of existing CICS
API – EXEC CICS commands plus a new, Event Processing API – EXEC CICS SIGNAL EVENT.
See Figure 7-7. Our program PAYBUS needs to read a record from a file called “PAYROLL”, with
a key stored in variable ws-key. You can see that the return is nominating the next transaction to run
using EIBTRNID which is the current transaction id. The initial user USER-NAME is only used to
generate a user-token without any control. Looking at the Dump (continued) REGISTERS AT LAST
EXEC COMMAND REGS 0-7 18326158 18326728 18305730 18326754 183038D0 18326158
1832616C 18326168 REGS 8-15 1832615C 1832673A 00031088 00032087 18307BC8 18326690
8003131C 00000000 Do NOT rely on these registers! In this dump, they are from the last LE EXEC
command issued while creating the CEEMSG dump, not from the user program. You can test the
reliability of these registers by checking to see if R14 points into your program. Copyright (c) 2009
The Evans Group, Inc. ASSIGN obtains values from outside the local application program
environment. Looking at the Dump CICSTEST --- CICS TRANSACTION DUMP --- CODE=AEIM
TRAN=TEG1 ID=1/0047 DATE=08/01/10 TIME=05:26:18 The title of the dump contains
identifying data: Review to ensure you have the correct dump: • VTAM APPLID of the region •
Trans ID of the abending transaction • Abend Code • Date and Time Copyright (c) 2009 The Evans
Group, Inc. The application and its artifacts are then exported to the z/OS platform as a WAR file,
where it can be deployed into a liberty JVM server. CICS/SignOn results in a much more secure
CICS environment. The EXEC CICS INQUIRE FILE command retrieves information about the
named file from the file control table (FCT). The first bit of code is to get the time and date using
CICS commands. Adapters are programs that format and then emit events from a CICS system. They
explain exactly what can be specified on an EXEC CICS command. The _info service returns the
associated to the server by the -s user parameter of the server command line. Looking at the Dump
(continued) When viewing the trace table, look first at EIP ENTRY/EXIT pairs 000298 QR AP 00E1
EIPENTRYWRITEQ-TD =000019= 000298 QR DD 0301 DDLO ENTRY LOCATE
08A4DBC0,00059AC7,DCTE,CESE =000020= 000298 QR DD 0302 DDLO EXIT LOCATE/OK
08ABE270 , C4C3E3C5 =000021= 000298 QR AP F600 TDA ENTRY
WRITE_TRANSIENT_DATA CESE,08AEB2E0 , 00000001,YES =000022= 000298 QR DD 0301
DDLO ENTRY LOCATE 08A4DBC0,00070BE4,DCTE,CESE =000023= 000298 QR DD 0302
DDLO EXIT LOCATE/OK 08ABE270 , C4C3E3C5 =000024= 000298 QR AP F601 TDA EXIT
WRITE_TRANSIENT_DATA/OK =000025= 000298 QR AP 00E1 EIP EXIT WRITEQ-TD OK
=000026= Remember, the most recent trace entry is the first Copyright (c) 2009 The Evans Group,
Inc. Global User Exits • It is HIGHLY recommended that ALL global user exits be analyzed to
ensure that they are THREADSAFE and that their PROGRAM definitions changed to specify
CONCURRENCY(THREADSAFE) • Changes to the standard parameter list (DFHUEPAR) •
UEPGIND, task indicator field • EP • Event processing TCB • TP • Owns the LE enclave and
THRD TCB pool for a JVM server • T8 • Used by a JVM server to attach pthreads for system
processing • All exits using XPI calls MUST be reassembled !!
Systems Programming Interface • New commands • CREATE • ATOMSERVICE, BUNDLE,
JVMSERVER, MQCONN • DISCARD • ATOMSERVICE, BUNDLE, EVENTBINDNG,
JVMSERVER, MQCONN • INQ • ATOMSERVICE, BUNDLE, BUNDLEPART,
CAPTURESPEC, EVENTBINDING, EVENTPROCESS, JVMSERVER, MQCONN, MQINI,
XMLTRANSFORM • SET • ATOMSERVICE, BUNDLE, EVENTBINDING, EVENTPROCESS,
JVMSERVER, MQCONN, XMLTRANSFORM • CSD • Allows manipulation of the CICS System
Definition file • Changed commands • Similar to CEMT changes The values that are returned depend
on whether the file is local (defined on the same CICS system as the task that is making the inquiry)
or remote (defined on another CICS system). In those specific cases, we need to modify the screen
when responding to unprotect the fields. Some of the ASSIGN options are not meaningful to
TXSeries for Multiplatforms and cause CICS to return default (not necessarily null) values. RETurn
Address to Program Offset Cheat Sheet • Enter the RET value……………………. 16D55BFC •
Subtract the program load point…….. - 16D55770 • Equals the offset into the load module = 48C •
Subtract the class offset of the CSECT - 20 • Equals the offset into the program = 46Cof the EXEC
CICS command • In the compile listing xref, find the 000101COBOL sequence number
associatedwith the offset in (5) • In the compile listing procedure division, locate the source EXEC
CICS command. Copyright (c) 2009 The Evans Group, Inc. The name of the RDO program resource
will the program name on the @GETProgram annotation in the Java method. Importantly, the parent
can continue processing independently of its child, it is not blocked by the child, as would happen if
the parent had LINKed to the child (Figure 7-4). The answer is it depends. Going back to our
example, if the READ on file ‘PAYROLL’ was for a record that didn’t exist then the EIBRESP
would contain 13. The EXCI interface uses the CICS application ID to address the appropriate CICS
region. The relationship between and is made via a specific DPL server service named_info. In this
case, the program name is CUSTGET (Figure 7-15). The DFHXCRM replaceable-module is not
treated. Containers… • EXEC CICS PUT • CONTAINER (data-value) • Specifies the name (1-16
characters) of the container in which data is to be placed. Do not use names beginning with DFH, •
CHANNEL (data-value) • Optional. Specifies the name of the channel that owns the container. If the
channel name is not specified the current channel is used. • FROM (data-area) • Specifies the data
area from where the data to be saved is read. • FLENGTH (data-value) • Specifies the length of the
data area to be saved. • FROMCCSID (data-value) • Specifies the current Coded Character Set of
the character data to be put into the container. Defaults to the CCSID of the local CICS region. •
DATATYPE (CVDA) • BIT • Default value. Bit data. The data in the container cannot be converted.
• CHAR • Character data. The data is in the code page specified by FROMCCSID and will be
converted to an internal CICS code page. This allows the positioning of the pointer to the record
requested or the next one if this record does not exist. Session Agenda • The 32k COMMAREA
“problem” • The “solution” • Channels and Containers • Application programming interface • EXEC
CICS • Java • Migration • Global and task related user exits • User replaceable modules •
Applications • Monitoring and statistics Installation Process • Default installation process • Common
IBM install procedures • SMP/E RECEIVE, APPLY, ACCEPT commands • Described in the CICS
Installation Guide • DFHISTAR process • CICS generated installation job stream • Described in the
CICS Installation Guide If it changed the user would be warned that the record has changed since
they last saw it and the update would fail. The MT_EXCIAPPPROFILE environment variable
provides the application profile file name generated by the genappprofile ARTKIX tool. The default
file name is $HOME/.EXCIappProfile. This is to ensure we lock the record verifying no other
customer is in middle of an update. Identifying the EXEC CICS Statement That Failed Step 4:
Identify the COBOL source statement. 000093 000042 Call 'DFHEI1' using by content
x'0c0290002700008c00f0f0f0f4f2 V510 000094 - '404040' by reference address of Link-commarea
by content x'0 000095 - '000' by content x'0000' by content length of Link-commarea 000096 end-
call 000097 000098 *exec cics link program('TEG1TSTX') commarea(link-commarea) 000099 *end-
exec 000100 000047 Move length of link-commarea to dfhb0020 000101Call 'DFHEI1' using by
content x'0e02e0000700000100f0f0f0f4f7 000102 - '404040' by content 'TEG1TSTX' by reference
link-commarea by 000103 reference dfhb0020 end-call 000104 000105 *exec cics return end-exec
The CICS command that failed. D) COBOL verb C) COBOL sequence number Remember, all
EXEC CICS statements are converted into COBOL CALLs by the CICS translator Copyright (c)
2009 The Evans Group, Inc. But these techniques have proved to be non-trivial and notoriously
difficult to implement for several reasons including timing windows. Containers… • EXEC CICS
MOVE • CONTAINER (data-value) • Specifies the name (1-16 characters) of the source container
that is to be moved. • CHANNEL (data-value) • Optional. Specifies the name of the channel that
owns the source container. If the channel name is not specified the current channel is used. •
TOCHANNEL (data-value) • Specifies the name of the channel that will own the target container •
AS (data-value) • Specifies the name of the target container This is accomplished by using and
testing flags sent by the caller. You can also browse through all the files that are installed in your
system by using the browse options (START, NEXT, and END) on INQUIRE FILE commands.
USERID value passed to the DPL request function of the CALL interface Identifying the EXEC
CICS Statement That Failed • Step 4: Identify the COBOL source statement. • Locate the Cross-
Reference in the COBOL compile output • Locate the instruction at the offset identified in Step 3 in
the previous slide • Search backward in the instruction listing to find the COBOL verb and sequence
number that generated this offset • Locate the COBOL source statement associated with the
sequence number Copyright (c) 2009 The Evans Group, Inc. CICS service modules will interact with
VSAM to access the file and retrieve the record. Today the number of bytes of transmission is
considered so small that if is more efficient to send all fields, entered or not, than run through the
code required to test if the field was entered. Identifying the COBOL Statement That Failed 001600
DISPLAY 004B7A 5820 905C L 2,92(0,9) 004B7E 58F0 202C L 15,44(0,2) 004B82 5830 C054 L
3,84(0,12) 004B86 4110 3A1A LA 1,2586(0,3) 004B8A 05EF BALR 14,15 001601 ADD 004B8C
5840 913C L 4,316(0,9) 004B90 FA33 4337 433B AP 823(4,4),827(4,4) 004B96 F833 4337 4337
ZAP 823(4,4),823(4,4) 001602 DISPLAY 004B9C 58F0 202C L 15,44(0,2) 004BA0 4110 3A04 LA
1,2564(0,3) 004BA4 05EF BALR 14,15 004BA6 5850 D184 L 5,388(0,13) 004BAA 07F5 BCR
15,5 COBOL statement number Offset of failure Copyright (c) 2009 The Evans Group, Inc.
Containers and Business Transaction Services… • Channel or BTS specific options on container
commands • GET command • ACQACTIVITY, ACQPROCESS, ACTIVITY and PROCESS •
CHANNEL and INTOCCSID • PUT command • ACQACTIVITY, ACQPROCESS, ACTIVITY and
PROCESS • CHANNEL, DATATYPE and FROMCCSID • MOVE command • FROMACTIVITY,
FROMPROCESS, TOACTIVITY, TOPROCESS • CHANNEL, TOCHANNEL • DELETE
command • ACQACTIVITY, ACQPROCESS, ACTIVITY and PROCESS • CHANNEL

You might also like