× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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 thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.