Interstage Shunsaku Data Manager Application Development Guide - Microsoft(R) Windows(R) 2000/ Microsoft(R) Windows Server(TM) 2003 - - UNIX -
Contents Index PreviousNext

Appendix M Java APIs Used in V6.0L20 and Earlier> M.1 ShunSearch Class

M.1.7 getRecNo

mark1Function

This method returns the conductor control information and the record identifier.

mark1Syntax

String[]  getRecNo (
     int     getNo      /* (1) Reply data sequence number       */
);

mark1Return Value

If the number of reply records is zero or greater after the executeSearch2 or the executeSearch3 method is executed, the value is returned as an array containing two elements. These are the conductor control information and the record identifier obtained from the conductor (or director).

mark1Parameters

mark2(1) Reply data sequence number

Specifies the reply data sequence number of the conductor control information and record identifier to be obtained.

mark1Exceptions

mark2ShunException

This is output when one of the following errors occurs:

Refer to M.4 Error Codes Output for details on error codes.

mark1Reply Layout

This method creates a two-element array each time it is invoked and returns it to the application.

The first element contains conductor control information and the second element contains the record identifier.

Execution

Obtained array

Content of array

getRecNo(0)

Obtained array [0]

Conductor control information for first record

Obtained array [1]

Record identifier for first record

getRecNo(1)

Obtained array [0]

Conductor control information for second record

Obtained array [1]

Record identifier for second record

getRecNo(2)

Obtained array [0]

Conductor control information for third record

Obtained array [1]

Record identifier for third record


Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2006