Table of Contents

Search

  1. Preface
  2. Introduction
  3. Program Design
  4. SSA-NAME3 Functions
  5. Language Specific Guidelines
  6. Controls
  7. Advanced Controls
  8. Address Standardization
  9. ASM Workbench

SSA-NAME3 API Reference Guide

SSA-NAME3 API Reference Guide

ssan3xp_convert_ranges

ssan3xp_convert_ranges

Used to convert 8 byte ranges (from server) to 5 byte ranges (for client).

Prototype

CREATE TABLE #ssan3xp_convert_ranges_layout ( ranges5 VARCHAR(256) ) INSERT #ssan3xp_convert_ranges_layout EXEC master.dbo.ssan3xp_convert_ranges_layout @rc OUTPUT, @sockh , @ranges8 , - StringArray in @ranges5 OUTPUT, - BlockArray out @ranges5_num , @ranges5_size , @rsp OUTPUT, - String out @ssaMsg OUTPUT; - String out if @rc < 0 begin goto r e t ; end ; DECLARE ssan3xp_convert_ranges_cursor CURSOR SCROLL FOR SELECT ranges5 FROM #ssan3xp_convert_ranges OPEN ssan3xp_convert_ranges_cursor ; FETCH FIRST FROM ssan3xp_convert_ranges_cursor INTO ranges5 ; WHILE @@FETCH_STATUS = 0 begin . . . END;

Parameters

ranges8
Block of 8 byte ranges to be converted
ranges5
Block of 5 byte ranges (output)
rsp
Refer to the Common Parameters section
ssaMsg
Refer to the SSA-NAME3 Error Messages section

Return Code

negative for error, 0 for success

0 COMMENTS

We’d like to hear from you!