|
Hello Jorge, Here's a working example: **-- Specifications -----------------------------------------------------** H Option( *SrcStmt ) **-- Global ariables: -------------------------------------------------** D DTS s 8a D LongJul s 17a D YYMD s 17a **-- API error data tructure: -----------------------------------------** D ApiError Ds D AeBytPro 10i 0 Inz( %Size( ApiError )) D AeBytAvl 10i 0 D AeExcpId 7a D 1a D AaExcpDta 256a **-- Convert date & ime: ----------------------------------------------** D CvtDtf Pr ExtPgm( 'QWCCVTDT' ) D CdInpFmt 10a Const D CdInpVar 17a Const Options( *VarSize ) D CdOutFmt 10a Const Options( *VarSize ) D CdOutVar 17a Options( *VarSize ) D CdError 32767a Options( *VarSize ) ** C CallP CvtDtf( '*YYMD' C : '20010919180055000' C : '*DTS' C : DTS C : ApiError C ) ** C CallP CvtDtf( '*DTS' C : DTS C : '*LONGJUL' C : LongJul C : ApiError C ) ** C Return ** Best regards, Carsten Flensburg ----- Original Message ----- From: <midrange-l-admin@midrange.com> Sent: Friday, September 14, 2001 8:34 PM Subject: ##EMailNumber 01-WNY-6191414 QWCCVTDT API and *DTS format > Could you please sprinkle some API magic to my RPGLE pgms and make them > work >
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.