Leave feedback
  • Question

    Movex header variables

Enter a new topic
  • Martin Herodes Martin Herodes
    0 likes 6173 views

    Does anyone have a list of all the Movex header variables (ex. mvx_user, mvx_FrMailArr[], mvx_File)?

    wkr,
        Martin

    Monday 15 February, 2010
  • Best Answer
    Stefan Cohen Stefan Cohen StreamServe Employee Administrator
    3 likes

    Allright. My understanding of how the agent creates variables is the following:

    The server converts any agent driver keyword to lowercase and prepends "$mvx_". If the keyword is followed by a digit, the agent appends "arr". The trailing digit is as far as i can tell optional so:

    *COPIES = $mvx_copies
    *COPIES1 = $mvx_copiesarr[1]

    I compiled the following list from documentation. I hope that helps.

    //General
    *SERVER=$mvx_server
    *NAME=$mvx_name
    *PORT=$mvx_port
    *USER=$mvx_user
    *LANGUAGE=$mvx_language
    *JOBID=$mvx_job
    *TIME=$mvx_time
    *TIMEFMT=$mvx_timefmt

    //I'm unsure about these
    *ACTIVITY=$mvx_activity
    *DEST=$mvx_dest
    *QUEUE=$mvx_queue

    //Print
    *PRT=$mvx_prt
    *DEVICE<number>=$mvx_device<arr>
    *OVERLAY<number>=$mvx_overlay<arr>
    *TRAY<number>=$mvx_tray<arr>
    *PAPERSIZE<number>=$mvx_papersize<arr>
    *BIN<number>=$mvx_bin<arr>
    *COPIES<number>=$mvx_copies<arr>
    *LAYOUT=$mvx_layout

    //File
    *FILE=$mvx_file
    *FILEDEST<number>=$mvx_filedest<arr>
    *TYPE<number>=$mvx_filetype<arr>

    //Mail
    *MAIL=$mvx_mail
    *TOMAIL<number>=$mvx_tomail<arr>
    *FRMAIL<number>=$mvx_frmail<arr>
    *CCMAIL<number>=$mvx_ccmail<arr>
    *SUBJECT<number>=$mvx_subject<arr>
    *MAILTEXT<number>=$mvx_mailtext<arr>
    *ATTACH<number>=$mvx_attach<arr>

    //Fax
    *TOFAX<number>=$mvx_tofax<arr>
    *FAXPRIO<number>=$mvx_faxprio<arr>
    *SENDTIME<number>=$mvx_sendtime<arr>
    *COMMENTA<number>=$mvx_commenta<arr>
    *COMMENTB<number>=$mvx_commentb<arr>
    *COMMENTC<number>=$mvx_commentb<arr>
    *FAXALTD<number>=$mvx_altdest<arr>
    *FAXUSER<number>=$mvx_user<arr>
    *FAXUSER<number>=$mvx_user<arr>

    //Archive
    *ARCHIVE<number>=$mvx_Archive<arr>

    Monday 15 February, 2010
  • Stefan Cohen Stefan Cohen StreamServe Employee Administrator
    0 likes

    This is AFIK the complete list

    Keyword - Example

    Via Mail:
    *SERVER    10.20.0.72
    *PORT     20500
    *NAME    PPS661PF
    *USER    15153
    *JOBID    047754489192115534PPS661PF
    *MAIL    YES
    *TOMAIL1    some@example.com
    *FRMAIL1    some@example.com
    *SUBJECT1    Printout from x
    *ARCHIVE1    0
    *LANGUAGE    GB
    *ZDCONO    330
    *ZDDIVI    AAA
    *ZDFACI    A01
    *ZDWHLO    110
    BEGINPPS661A0
    *TIME    20090219224211
    *LANGUAGE    GB
    *ZZCONO    0
    *ZZDIVI      
    *ZZFACI    A01
    *ZZWHLO    110

    Via File: (.txt)
    *SERVER    10.20.0.72
    *PORT     20500
    *NAME    CRS801PF
    *USER    16429
    *JOBID    652831478176124454CRS801PF
    *FILE    YES
    *FILEDEST1    C:\\OUTFILE.TXT
    *FILETYPE1    TXT
    *ARCHIVE1    0
    *LANGUAGE    GB
    *ZDCONO    330
    *ZDDIVI    AAA
    *ZDFACI    BCN
    *ZDWHLO    BN2
    BEGINCRS801A0
    *TIME    20081016104223
    *LANGUAGE    GB
    *ZZCONO    0
    *ZZDIVI      
    *ZZFACI    BCN
    *ZZWHLO    BN2

    *SERVER    10.20.29.20
    *PORT     10200
    *NAME    FAS016PF
    *USER    14607
    *JOBID    738657475049882977FAS016PF
    *FILE    YES
    *FILEDEST1    14607__FAS016PF_080911_061810_738657_475049890289.PDF
    *FILETYPE1    PDF
    *ARCHIVE1    0
    *LANGUAGE    GB
    *ZDCONO    571
    *ZDDIVI    AAA
    *ZDFACI    FA1
    *ZDWHLO    100
    *FILE    YES
    *FILEDEST2    JJB__FAS016PF_080911_061810_738657_475049890352.PDF
    *FILETYPE2    PDF
    *ARCHIVE2    0
    *LANGUAGE    GB
    *ZDCONO    571
    *ZDDIVI    AAA
    *ZDFACI    FA1
    *ZDWHLO    100
    *MAIL    YES
    *TOMAIL3    some@example.com
    *FRMAIL3    some@example.com
    *SUBJECT3    MVX Standard 571/AAA
    *ARCHIVE3    0
    *LANGUAGE    GB
    *ZDCONO    571
    *ZDDIVI    AAA
    *ZDFACI    FA1
    *ZDWHLO    100
    BEGINFAS016A0
    *TIME    20080911061814
    *LANGUAGE    GB
    *ZZCONO    0
    *ZZDIVI      
    *ZZFACI    FA1
    *ZZWHLO    100
    *LAYOUT    A4

    Monday 15 February, 2010
  • Martin Herodes Martin Herodes
    0 likes

    Hi Stefan

    That isn't really the list I was looking for but thanks for the effort. Some of the variables are named exactly as in the data stream (with the addition of prefix "$mvx_") but some are converted to an array.

    I am hoping (foolishly?) for a list like this:
    *USER = $mvx_User
    *FILE = $mvx_File
    *FILEDEST# = $mvx_FileDestArr[#]
    a.s.o...

    My current and specific need is the "Mail Text" in Movex.

    wkr,
        Martin

    Monday 15 February, 2010
  • Stefan Cohen Stefan Cohen StreamServe Employee Administrator
    3 likes

    Allright. My understanding of how the agent creates variables is the following:

    The server converts any agent driver keyword to lowercase and prepends "$mvx_". If the keyword is followed by a digit, the agent appends "arr". The trailing digit is as far as i can tell optional so:

    *COPIES = $mvx_copies
    *COPIES1 = $mvx_copiesarr[1]

    I compiled the following list from documentation. I hope that helps.

    //General
    *SERVER=$mvx_server
    *NAME=$mvx_name
    *PORT=$mvx_port
    *USER=$mvx_user
    *LANGUAGE=$mvx_language
    *JOBID=$mvx_job
    *TIME=$mvx_time
    *TIMEFMT=$mvx_timefmt

    //I'm unsure about these
    *ACTIVITY=$mvx_activity
    *DEST=$mvx_dest
    *QUEUE=$mvx_queue

    //Print
    *PRT=$mvx_prt
    *DEVICE<number>=$mvx_device<arr>
    *OVERLAY<number>=$mvx_overlay<arr>
    *TRAY<number>=$mvx_tray<arr>
    *PAPERSIZE<number>=$mvx_papersize<arr>
    *BIN<number>=$mvx_bin<arr>
    *COPIES<number>=$mvx_copies<arr>
    *LAYOUT=$mvx_layout

    //File
    *FILE=$mvx_file
    *FILEDEST<number>=$mvx_filedest<arr>
    *TYPE<number>=$mvx_filetype<arr>

    //Mail
    *MAIL=$mvx_mail
    *TOMAIL<number>=$mvx_tomail<arr>
    *FRMAIL<number>=$mvx_frmail<arr>
    *CCMAIL<number>=$mvx_ccmail<arr>
    *SUBJECT<number>=$mvx_subject<arr>
    *MAILTEXT<number>=$mvx_mailtext<arr>
    *ATTACH<number>=$mvx_attach<arr>

    //Fax
    *TOFAX<number>=$mvx_tofax<arr>
    *FAXPRIO<number>=$mvx_faxprio<arr>
    *SENDTIME<number>=$mvx_sendtime<arr>
    *COMMENTA<number>=$mvx_commenta<arr>
    *COMMENTB<number>=$mvx_commentb<arr>
    *COMMENTC<number>=$mvx_commentb<arr>
    *FAXALTD<number>=$mvx_altdest<arr>
    *FAXUSER<number>=$mvx_user<arr>
    *FAXUSER<number>=$mvx_user<arr>

    //Archive
    *ARCHIVE<number>=$mvx_Archive<arr>

    Monday 15 February, 2010
  • Andreas Hjelle Andreas Hjelle
    This reply has been removed Monday 15 February, 2010
  • Andreas Hjelle Andreas Hjelle
    0 likes

    Hi,

    This is true. Try by adding a field in the streamfile like: *TST my test and try to pick it up with: $mvx_tst.

    You are looking for $mvx_mailtext. You do not need to add the array index to pick this up if you use the agent directly. If you use the AgentDriver() function you'll need to pick it up using $mvx_mailtextarr[idx].

    If you use mvx_jobdef.txt (available in 3.x and during upgrade using the -intentia switch on the upgrade tool) it is possible to enter it like this: 

    BodyText2 "<[$mvx_mailtext]>"

     to make it available for all affected documents.

    *ACTIVITY=$mvx_activity
    *DEST=$mvx_dest
    *QUEUE=$mvx_queue

    These are not normally delivered from M3 but are frequently used in projects and could of course be added as modifications.

    andreas

    Monday 15 February, 2010
  • Martin Herodes Martin Herodes
    0 likes

    Many thanks for the input and lists!

    wkr,
        Martin

    Tuesday 16 February, 2010
  • Andrew Michnik Andrew Michnik StreamServe Employee
    0 likes

    Any field prefixed with a * can be assumed to be $mvx_ but the attached documentation, from 3.x, still stands.

    See page 89 onwards

    Monday 03 May, 2010

    Attached files

  • Andrew Michnik Andrew Michnik StreamServe Employee
    0 likes

    Any field prefixed with a * can be assumed to be $mvx_ but the attached documentation, from 3.x, still stands.

    See page 89 onwards

    Monday 03 May, 2010

 

Latest from the blogs

Read more