FLAM® Issue Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000440FL54. Element, Byte, Record or other APIpublic2014-05-16 07:502014-05-16 14:14
ReporterFalk Reichbott 
Assigned ToFalk Reichbott 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusresolvedResolutionfixed 
PlatformGeneralOSGeneralOS VersionGeneral
Product Version5.0 
Target Version5.0Fixed in Version5.0 
Summary0000440: Add info function for files to byte and record interface
DescriptionThe INFO command are currently only available as sub program interface. But it would be useful to have this function also for the FLUC byte and record interface where the information are written to the memory.

FCRINF(RTC,"get.file='test.gz'",format,buflen,buffer)
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000461)
Falk Reichbott (administrator)
2014-05-16 14:14

Add a new function to FLUC byte interface (fcbinfo) and a new function as corresponding stup to the FLUC record interface (FCRINF).

/**
 * Provide certain information
 *
 * This function can be used to determine different information about
 * files or supported CCSID's and other stuff. For this you must provide
 * a info string to define which information are requested. You can define
 * the format how the information will be formated. The information
 * will be written to an output buffer. If the buffer too small a FMLRTC_LEN
 * error will be returned, the length will be set to the required length and
 * the buffer is filled up to the maximum with the data.
 *
 * The info definition string uses the same syntax as the get method of
 * the FLCL INFO command. The complete syntax and help can be determined
 * with the corresponding functions below. The zero-terminated string must
 * start with 'GET.' followed by the corresponding method (FILE/CCSIDS/...).
 *
 * Examples: "GET.FILE='TEST.TXT'"
 * "GET.CCSIDS"
 *
 * Please use:
 * 'FCRHLP/FCRSYN(FCR_INFO,10,NULL)'
 * 'FCRHLP/FCRSYN(FCR_INFO,10,NULL)'
 * for more information.
 *
 * @param [OUT] rtc INTEGER Return code\n
 * @param [IN] infolen INTEGER Length of info string
 * @param [IN] infostr STRING Info string with GET instructions
 * @param [IN] format INTEGER Format specification for the output buffer
 * @param [IN][OUT] buflen INTEGER Size/length of the output buffer
 * @param [OUT] buffer STRING Output buffer (data format depends on format parameter)
 */
extern void STDCALL FCRINF(int* rtc,const int* infolen, const char* infostr,
                           const int* format, int* buflen, char* buffer);

- Issue History
Date Modified Username Field Change
2014-05-16 07:50 Falk Reichbott New Issue
2014-05-16 07:50 Falk Reichbott Status new => assigned
2014-05-16 07:50 Falk Reichbott Assigned To => Falk Reichbott
2014-05-16 14:14 Falk Reichbott Note Added: 0000461
2014-05-16 14:14 Falk Reichbott Status assigned => resolved
2014-05-16 14:14 Falk Reichbott Fixed in Version => 5.0
2014-05-16 14:14 Falk Reichbott Resolution open => fixed
2014-12-02 07:43 Falk Reichbott Category 4. Element, Byte or Record API => 4. Element, Byte, Record or other API


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker