Use the Copy function to copy test streams and rulesets from the data set allocated to TCADSIN to the data set allocated to TCADSOUT.
Specify the Copy card in the SYSIN DD data set. The format is:
COPY
This function has no parameters. One or more Select cards should follow the Copy card. You can also specify one or more Terminals cards to indicate which terminals are to be copied. See the section, Select Test Streams for Copy, Convert, Print, and Delete earlier in this chapter for details.
Use the REXX function to convert a test stream from the data set allocated to TCADSIN to the REXX script file allocated to TCAREXX. The resulting REXX exec can be modified as necessary to meet user needs.
Note: The password security format used in the converted REXX script (that is token, code, or password) is determined by the password security option that is active for the userID that performs the conversion, at the time the test stream is converted to REXX. See the section Secure Data in a REXX Script for more information on the security options, including viewing or modifying the active security option for your userID.
Specify the REXX card in the SYSIN DD data set. The format is:
REXX APPLID(applid) SLINES(nn) [DELAY/NODELAY] [PROTECT/NOPROTECT]
Specifies the VTAM applid of the application to which the converted REXX exec should establish a session when it is executed. If APPLID is omitted, a "LOGON '????????'" statement will be generated by the conversion routine and the user must modify the exec to provide a valid applid before executing it.
Specifies the number of lines of an output screen to be included in the converted REXX exec. The default value is 3. The screen lines are included as comments to aid readability of the exec.
Specifies whether DELAY commands should be added to the converted REXX exec, to reflect the think time associated with the original test stream. The default is DELAY.
Specifies whether the REXX script (indicated by the TCAREXX DD) should be overwritten if it already exists. If PROTECT is specified and the target script exists, the member will not be overwritten. Instead, a message will be written to SYSPRINT. If NOPROTECT is specified and the target member exists, it will be overwritten. The default is NOPROTECT.
A Select card should follow the REXX card. The Select card specifies the test stream to be converted. See the section, Select Test Streams for Copy, Convert, Print, and Delete in this chapter for details.
Use JCL similar to the following example to convert a test stream to REXX in batch..
//TCABATCH EXEC PGM=TCABATCH,REGION=2048K //STEPLIB DD DISP=SHR,DSN=yourHLQ.CATJLOAD //TCADSIN DD DISP=SHR,DSN=hlq.TCADS //TCADREXX DD DISP=SHR,DSN=userid.VERIFY.SCRIPT(ssssssss) //SYSPRINT DD SYSOUT=A //TCAPRINT DD SYSOUT=A //SYSIN DD * REXX APPLID(vtamappl) SLINES(24) SELECT application.member.version /*
|
Copyright © 2012 CA.
All rights reserved.
|
|