IBM 4J manual Generatemsg Generatereplymsg Validatemsg Validatereplymsg

Page 94

I

informational responses, API 62 Initializing communications using user

exit functions 76

L

logfile parameter exit_child_init() function 76

M

Managing Processes

37

 

 

maxdelay parameter

7

 

 

Message

 

 

 

 

message ID format

46

 

 

Message file

 

 

 

 

record format 47

 

 

 

Message File Content

46

 

 

Message file record format

47

Message files

 

 

 

 

overview

46

 

 

 

Message text

47

 

 

 

Modifying a translation table

45

Modifying translation tables

44

Monitor Process Status in the TCQ 19

Monitoring Process status

22

 

Moving a CLI process

 

 

 

foreground

4

 

 

 

msg_type parameter, recv_exit_msg()

function 77

 

 

 

 

msg_type parameter, send_exit_msg() function 78

N

ndm_hostname parameter 63 ndm_portname parameter 63 ndmapi_connect() or ndmapi_connect()_c

function format 63

ndmapi_recvresp() function example 67

ndmxlt command parameters -ffiller 44

-m 44

-ooutputfile 44 -rradix 44 -ssourcefile 44

newname parameter, submit command 7

newsnode parameter, change process command 15

P

pacct parameter 8

Parameters, scheduling for the TCQ 37 Passing a file descriptor using user exit

functions 77

pmgr parameter, trace command 35 pname parameter

change process command

13, 17, 20,

22, 27

 

delete process command

16

pnodeid parameter, submit command

8

pnumber parameter

 

 

 

change process command

13, 17, 20,

22, 27

 

 

 

 

delete process command

 

16

 

select statistics command

27

 

Precompress a Binary File

51

 

Precompress a Text File 51

 

 

 

Precompress a text file with codepage

 

conversion

51

 

 

 

Precompressing/decompressing files

48

Process progression - TCQ

38

 

Process report

 

 

 

detailed

32

 

 

 

summary

33

 

 

 

prty parameter

 

 

 

change process command

15

 

submit command 8

 

 

 

Q

queue parameter 20, 23

change process command 20, 23

R

reccat parameter

select statistics command 27 Receiving responses using API function

calls 64 recids parameter

select statistics command 27 recv_buf_len parameter 77 release parameter 15

Remove a Process from the TCQ 15 Removing a Process from the Execution

Queue 17 resp_buffer parameter 64 resp_length parameter 64 resp_moreflag parameter

ndmapi_recvresp() function 67 ndmapi_sendcmd() function 68 Restricting Scripts and Commands 5

ret_data parameter 68 retain parameter 8

S

sacct parameter 8

 

 

Scheduling activity 37

 

Scheduling parameters

37

Security Exit Messages

80

GENERATE_MSG

81

 

GENERATE_REPLY_MSG 81

VALIDATE_MSG

81

 

VALIDATE_REPLY_MSG 82

select process command

4, 19, 22

select statistics command

4, 26

format 26

 

 

Send precompressed file to z/OS and store as precompressed 52

send_buf parameter recv_exit_msg() function 77 send_exit_msg() function 78

send_buf_len parameter 78 sendcmd_data parameter 68

Sending a command using function calls 68

Sending a message using user function

exits 78

 

 

smgr parameter, trace command 35

snode parameter

 

 

change process command

14, 17, 20,

23, 31

 

 

delete process command

16

submit command

9

 

snodeid parameter 10

 

srcfile parameter

 

 

select statistics command

31

Standalone Batch Compression Utility

special considerations 48

 

startt parameter

 

 

select statistics command

31

submit command

11

 

Statistics Exit Message

79

 

status parameter

 

 

 

select process command

21, 24

Status values

 

 

 

 

overview

38

 

 

 

Sterling Connect:Direct command

syntax 5

 

 

 

 

Sterling Connect:Direct Commands 4

stop command 4, 18

 

STOP_MSG

82

 

 

 

Stopping Sterling Connect:Direct 18

Stopping the CLI

1

 

 

stopt parameter

31

 

 

select statistics command

32

submitter parameter

 

 

change process command

14, 18, 22,

25, 32

 

 

 

 

delete process command

16

Submitting a Process

6

 

Summary report for a Process 33

System diagnostics

33

 

T

TCQ

hold parameter 37 overview 37 Process progression 38 startt parameter 37

Terminating a connection using API function calls 63

The Timer Queue 41 trace command 33

format 33 Translation 45 Translation table compiling 44

creating 43, 44 modifying 45

Translation table error messages 46 Translation Tables 43

U

User Exit Functions 75

User Exit Messages 79

User Exit Programs 75

User Exit Stop Message 82

88Sterling Connect:Direct for UNIX: User Guide

Image 94
Contents User Guide Page User Guide Copyright IBM Corporation 1999 Contents Iv Sterling ConnectDirect for Unix User Guide Starting the CLI Overview of the Command Line InterfaceCLI Commands Stopping the CLISample Command Option Description Value EntryCLI Job Control CdpnumCommand CLI History CommandsOverview of Sterling ConnectDirect Commands Command Abbreviation DescriptionAbbreviations for Common Sterling ConnectDirect Commands Parameter AbbreviationPname = A?PROD5 Submitting a ProcessParameter Description Values Parameter Description Values Username@hostname or user@localhost Id , pswdName host name nnn.nnn.nnn.nnn or Name nnnnnId ,pswd ,newpswd Snodeid fieldSpecify retain=initial Following command submits the Process named payroll Following command submits the Process named copyfilParameter Description Value Following command submits the Process named copy.cdpChanging Process Parameters Name generic listRemote node specification generic list Node specification, userid generic listDeleting a Process from the TCQ Number list Removing a Process from the Execution Queue Flush process command has the following optional parameters Stopping Sterling ConnectDirectViewing a Process in the TCQ Parameter DescriptionPname Locate the Process to view EX HC HE HI HO HR HS PE Following command displays the specified Process number Monitoring Process Status in the TCQAll EX HC HE HI HO HR HS PE Output from the command is displayed in the following table Determining the Outcome of a Process Dest=/path/file nameCaev Capr CAEV, Capr Record id listParameter Description Value Parameter Description Value Parameter Description Value Srcf=/path/file name Date day , hhmmss ampmGenerating a Detailed Output Report for a Process Select Statistics Running System DiagnosticsGenerating a Summary Report for a Process Recid LOG Timepname Pnumber Stepname Ccod Fdbk MsgidCOMM.TRC Smgr Trace smgr pnode tnode=ath3500ry level=2 file=Smgp.trc Scheduling Sterling ConnectDirect Activity Command DefinitionOverview of the Transmission Control Queue Scheduling Parameter Queue CommentsProgression of a Process Through the TCQ Execution Queue Element Comment Wait QueueStatus Comment Timer Queue Hold QueueHeld for Call indicates that the Process was Introduction to Translation Tables Creating a Translation TableCompiling a Translation Table Using the ndmxlt Utility Example-Creating a Translation TableUsing Translation During File Transfer Operations Example-Modifying a Model Translation TableMessage File Content Translation Table Error MessagesAccessing Sterling ConnectDirect Messages Diagnostic Number DescriptionDisplaying Message Text Following is a sample ndmmsg commandMessage File Record Format Following are the parameters for the message file recordSterling ConnectDirect for Unix User Guide Level-Compression level Using the Standalone Batch Compression UtilityFollowing are the parameters for the cdsacomp utility Memory-The amountCodepage Source codepage, destinationNnnnn Example-Precompress a Binary File Example-Precompress a Text FileExample-Precompress a Text File With Codepage Conversion Example-Decompress a Text FileExamples-csdacomp Command Help Cfgcheck command has the following arguments Validate Configuration FilesConfiguration Reports Argument DescriptionGenerating a Configuration Report on the Base Installation Type the following command at a Unix promptSterling ConnectDirect Utilities Following example shows an excerpt from a sample report Sterling ConnectDirect Utilities Sterling ConnectDirect for Unix User Guide Compiling Custom Programs Program using the C++ API callsIntroduction to Writing Custom Programs Compiler version to use for each platformPlatform Compile Command You want to create such as apicheckWriting Custom C Programs ++ Function DescriptionNdmerrenth Ndmnoerror NdmerrorNdmapirecvresp or Receiving Responses Using ndmapirecvresp or ndmapirecvrespcNdmapirecvrespc Parameter Description Value PNOD-PNODE Return Code Description Following is a sample ndmapirecvresp functionSNOD-SNODE TruncatedNdmapirecvresp or ndmapirecvrespc to retrieve Following is a sample ndmapisendcmd function Writing Custom C++ ProgramsNdmapisendcmdc function call has the following return codes Selectstatistics or Selectprocess , the CLISterling ConnectDirect for Unix User Guide Method Description Parameter Return Values CdfailureFollowing is the ConnectDirectSession class header Cdsuccess = 0, Cdfailure =Writing Custom Programs Sterling ConnectDirect for Unix User Guide Program Description User Exit ProgramsUser Exit Functions Chown root exitskeletonGoodrc Errorrc Return CodeWaiting for a Message Using recvexitmsg or recvexitmsgc ExitprogramFollowing are the parameters for sendexitmsg or sendexitmsgc HeaderStatistics Exit Message Overview of User Exit MessagesFile Open Exit Messages Security Exit Messages FileopenoutputreplymsgGeneratemsg Validatemsg ValidatereplymsgCopy Control Block User Exit Stop MessageExit Log Files Copyright IBM Corp IBM Corporation J46A/G4 Bailey Avenue San Jose, CA Trademarks Sterling ConnectDirect for Unix User Guide Index Special characters Generatemsg Generatereplymsg Validatemsg Validatereplymsg Page Sterling ConnectDirect for Unix User Guide Page Product Number 5725-C99