([type],[n-big],[grp],[rn]) ; Creates alignment sync file.
; SOURCE:  pub_refine_doc_sync.pam    ArDean Leith Feb 2002
;                           [rn]      ArDean Leith Feb 2005
;                           []        ArDean Leith Dec 2005
;
; PURPOSE: Creates alignment sync file
;
; INPUT PARAMETERS:                
;     [type]      - Job type flag
;     [n-big]     - Number of big angle changes
;     [grp]       - Group
;     [rn]        - Unique number 
;
; OUTPUT FILE:  jnkdocparamout{***group}    (Doc  file)

; Signal master to awaken (when it sees jnkdocparamout{***[grp]}_{****[rn])

 SD 11,[type]                    ; Set sync file output
   t_jnkdocparamout{***[grp]}
 SD 47,[n-big]                    
   t_jnkdocparamout{***[grp]}

 SD E
   t_jnkdocparamout{***[grp]}

 SYS
   mv t_jnkdocparamout{***[grp]}.$DATEXT jnkdocparamout{***[grp]}_{****[rn]}.$DATEXT

 RE
;