[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference rocks::dec_edi

Title:DEC/EDI
Notice:DEC/EDI V2.1 - see note 2002
Moderator:METSYS::BABER
Created:Wed Jun 06 1990
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:3150
Total number of notes:13466

3049.0. "Unix EDI status message listing" by CSC32::LINK (LINK) Wed Mar 12 1997 02:03

    
    Hello,
    
    	I am looking for the Unix equivalent of the VMS
    SYS$COMMON:[SYSLIB]DECEDI$API_DEF.H;3 file.
    
    	I have a Customer running Unix 4.0 with Informix and DEC/EDI 3.1a.
    They want to create there own reporting by looking at Status_L (in VMS)
    and find the statuses.  
    
    	In SYS$COMMON:[SYSLIB]DECEDI$API_DEF.H;1 for a status of 64597155
    you would find that this meant DECEDI$_CANCELLED.  For 64597147 you 
    would find that this meant DECEDI$_PURGEABLE.  Is there a similar file
    for Unix.  I searched through /var/adm/decedi and /usr/lib. 
    
    	Customer wants to be able to find these statuses and equate them to
    what they mean.
    
    Thanks
    Joe
    
    
    
T.RTitleUserPersonal
Name
DateLines
3049.1My guestimate isSYSTEM::HELLIARhttp://samedi.reo.dec.com/Wed Mar 12 1997 11:1766
    Joe,
    
    Currently we dont ship such a file on Unix, you might want to check if
    the following is correct for Unix and satisfies the customers needs:
    
    /*
    ** Main statuses
    */
    
    #define DECEDI__AWAITRNSM 1032847419
    #define DECEDI__AVAILABLE 1032847427
    #define DECEDI__BUILT 1032847435
    #define DECEDI__CONVERTED 1032847443
    #define DECEDI__CREATED 1032847451
    #define DECEDI__POSTED 1032847467
    #define DECEDI__PROCESSED 1032847475
    #define DECEDI__QUEUED 1032847483
    #define DECEDI__RECEIVED 1032847491
    #define DECEDI__SENT 1032847499
    #define DECEDI__TRNSLATED 1032847507
    #define DECEDI__TRNSLTBLE 1032847515
    #define DECEDI__CONVERTING 1032847531
    #define DECEDI__BUILDING 1032847539
    #define DECEDI__SENDING 1032847563
    #define DECEDI__DELIVERED 1032847571
    #define DECEDI__PURGEABLE 1032847579
    #define DECEDI__CANCELLED 1032847587
    #define DECEDI__RECEIVING 1032847595
    #define DECEDI__TRANSLATING 1032847603
    #define DECEDI__FETCHPROC 1032847619
    #define DECEDI__SENTSTOS 1032847627
    #define DECEDI__PARTRCV 1032847651
    #define DECEDI__IDENTIFYING 1032847675
    #define DECEDI__FAILED_TO_CONVERT 1032847763
    #define DECEDI__FAILED_TO_BUILD 1032847771
    #define DECEDI__FAILED_TO_DELIVER 1032847779
    #define DECEDI__FAILED_TO_RECEIVE 1032847787
    #define DECEDI__FAILED_TO_IDENTIFY 1032847795
    #define DECEDI__FAILED_TO_TRANSLATE 1032847803
    #define DECEDI__FAILED_TO_FETCH 1032847811
    #define DECEDI__FAILED_TO_SEPARATE 1032847819
    #define DECEDI__FAILED_TO_SEND 1032847827
    #define DECEDI__FAILED_TO_POST 1032847835
    #define DECEDI__FAILED_TO_ACCEPT 1032847843
    #define DECEDI__FAILED_AFTER_DELIVERY 1032847859
    #define DECEDI__FAILED_TO_SEND_DG 1032847867
    #define DECEDI__TRANSAVAIL 1032847875
    #define DECEDI__TRANSFETCH 1032847883
    #define DECEDI__FAILED_TRANSFETCH 1032847891
    #define DECEDI__IDENTIFIED 1032847899
    #define DECEDI__SEPERATING 1032847907
    #define DECEDI__SEPERATED 1032847915
    
    /*
    ** FUnction Ack statuses - TLF.astatus_l
    */
    
    #define DECEDI__ACKRECVED 1032847411
    #define DECEDI__FAEXPCAN 1032847683
    #define DECEDI__NOACTION 1032847691
    #define DECEDI__ACKSENT 1032847699
    #define DECEDI__ACKEXPCTD 1032847707
    #define DECEDI__NOACKEXP 1032847715
    #define DECEDI__ACCWERRS 1032847547
    #define DECEDI__REJECTED 1032847555
    
3049.2Thanks for the infoCSC32::LINKLINKWed Mar 12 1997 19:498
    
    Thanks for the information.  I will get this to the Customer.
    
    Just out of curiousity,  how did you create this list.  Is
    it documented somewhere or you pulled it from the DB itself.
    
     Thanks again
    Joe                                  
3049.3Its in the internalsMETSYS::HELLIARhttp://samedi.reo.dec.com/Thu Mar 13 1997 11:035
    Its part of the internal .h file we generate from our internal message 
    file (contains 1000's of messages).
    
    
    Graham