CFEX rules for a MOD

Compiled 30 November 2026 · Jira, Confluence, SSD specification 2022

Start here

This page tells you how to prepare a MOD so that CFEX accepts it, and what to check after CFEX. Each rule has a status label that tells you how reliable it is.

Confirmed
Written by the CFEX developers in Jira or Confluence, or applied on several real cases.
Case
Found on one real case only.
Spec
From the 2022 SSD specification for CFEX v9.1 (non-GSO). The real message text can be different.
Unverified
Follows from the other rules. Not found in a source and not tested.

1. How CFEX works

What the MERGE contains

From the MODRecords with A (new records).
MOD laid over TARGETRecords with M. A null field in the MOD keeps the TARGET value (with some exceptions).
From TARGET onlyRecords that the MOD does not mention. Copied without change.
S recordsStay in the MERGE with act_code S. USMR removes them.

Rules

G-1A MOD is a delta, not a full network

Put only what changes in the MOD, each record with an action code. Records that are not in the MOD come from TARGET without change.

Confluence: Understanding CFEX

G-2Action codes

act_codeMeaningCondition
AAdd a new recordMust not exist in TARGET
MModify a TARGET recordMust exist in TARGET (same key)
SSuppress a TARGET recordMust exist in TARGET (same key)
RReplace (beam / antenna), incl. rename with beam_old—
blankNo action: context record (e.g. a group under a modified beam)—

G-3Keep the join keys of TARGET

CFEX finds the TARGET record with these keys. A wrong or missing key makes CFEX treat a modify as an add, or orphans the record.

LevelKey MOD ↔ TARGET
Noticecom_el.tgt_ntc_id
Beamemi_rcp + beam_name (beam_old for a renamed beam)
GroupMOD grp.tgt_grp_id = TARGET grp.grp_id
Orbit / phaseorb_id / orb_id + orb_sat_id (never renumbered)
Associated earth stationGroup pair + stn_name and the same seq_no

Confluence: Understanding CFEX

G-4Missing group data comes from TARGET, with exceptions

An M record is sparse. A null field in the MOD keeps the TARGET value, except for some listed fields.

G-5Normal MOD and internal MOD at USMR

Normal MOD: the MERGE replaces the TARGET (renumbered to the TARGET ids, status 50). Internal MOD (f_int_ext = I): the TARGET is kept and only some fields are updated; the MERGE is deleted.

Confluence: Understanding CFEX

2. Before you run CFEX

Notice status, pending transactions and internal MODs.

N-1CFEX 1 blocks the MOD (message H) if an earlier MOD is pending

CFEX 1 stops if an earlier-received notice on the same TARGET is in a status other than 19, 27, 53, 54. Close or move the earlier MOD first.

N-2Status 53 / 54 does not block CFEX

N-3A Data Amendment deletes the MERGE

A SpaceCap Data Amendment on a MOD below status 50 deletes its MERGE and resets the MOD to status 05. Run CFEX again.

N-4Do not restore an old deleted MERGE

Its group ids can collide with the MERGE of the next MOD on the same TARGET.

N-5Withdrawal must be a suppression

If f_int_ext = W or Z, the notice must be a SUP. Otherwise CFEX rejects it.

Confluence: Understanding CFEX

N-6Internal MOD: no basic change

If f_int_ext = I or R and any record (station, group, beam, orbit, ngma, strap) has a basic change, CFEX stops with a fatal error. The notice goes to status 31.

Confluence: Understanding CFEX

N-7CR/C ADD: check for an expired coordination in status 50

CFEX 1 returned OK for a CR/C ADD although an expired coordination of the same network was still in status 50. Check this manually.

Confluence: SE for CSS Case 21

N-8Do not use CFEX during USMR

USMR runs on the Thursday of the IFIC week. All SNS applications must be idle.

Confluence: SNS processing

3. Beams

B-1An M beam must exist in TARGET. A new beam is A.

A new beam has s_beam.act_code = A. Its groups have a blank action code.

Example: beam S1DL had M but did not exist in TARGET → change to A, blank act_code on its 2 groups.

B-2Suppressed beam: remove its groups and earth stations

For a beam with act_code = S, remove all its groups and their associated earth stations from the MOD.

Confluence: Improved Capture of MOD Transactions · SSD spec 2022

B-3Remove unmodified beams from the MOD

SpaceCap flags all beams and groups as M. Unmodified beams in a MOD caused CFEX stops. Delete them.

B-4Renamed beam: use beam_old

Set the old name in beam_old (action code R).

Confluence: Understanding CFEX

B-5A beam attachment in the MOD is a basic change

A non-null beam attachment in the MOD clears findings.

B-6PFD steering default

If f_pfd_steer_default = 'Y', MERGE sets attch_pfd_steer to NULL.

4. Groups

GR-1M group: tgt_grp_id points to the TARGET group

MOD grp.tgt_grp_id = TARGET grp.grp_id.

SSD spec 2022 · Confluence: Understanding CFEX

GR-2New group

Under an existing beam: act_code = A, no tgt_grp_id. Under a new beam: blank act_code (the A is on s_beam).

GR-3Group dates are copied from the MOD

The d_rcv_start of an M group in the MOD goes onto the merged group (the exclusion is commented out in CfexMerge.cs). Check the dates after CFEX.

Confluence: CARABINER assessment 2026-09-12

GR-411.43A modification: check d_rcv_start and f_biu

After CFEX, check that d_rcv_start and f_biu were not copied from TARGET (fixed in 2023).

GR-5fdg_ref = TARGET + MOD

5. Associated earth stations (e_as_stn, e_srvcls)

Most CFEX2 errors on modifications come from here. Use the helper below for each station of each modified group.

TablePrimary keyNotes
e_as_stn(grp_id, seq_no)Has act_code, stn_old, f_cmp_rec (comparison flag), f_e_change
e_srvcls(grp_id, seq_e_as, seq_no) – index UCI_e_srvclsseq_e_as = e_as_stn.seq_no. seq_no = order of the class-of-station rows in that station
Why both act_code and seq_no: Olivier Evrard wrote in CFEX-66 (2025): "What we would really need is an action code at e_as_stn level." CFEX does not identify an existing station by its action code alone. It needs the same seq_no as in TARGET. Always set both.

Earth station helper

One station at a time. Compare the MOD group with its TARGET group (TARGET grp_id = MOD grp.tgt_grp_id).

Option "Replace all earth stations" = No (normal case)

E-1Modify an existing station: act_code M and the TARGET seq_no

  • e_as_stn.seq_no in the MOD = seq_no in TARGET.
  • e_as_stn.act_code = M. Do not use A for a station that exists in TARGET.
  • All its e_srvcls.seq_e_as = that seq_no.

E-2Do not blank a field of an existing station

Removing ctry was "considered as a too big change for cfex". Workaround used: keep ctry in the MOD, run CFEX, then delete it in the MERGE.

E-3Name or type change = suppress + add, not modify

  • A change of stn_name, or of station type (e.g. typical → specific), cannot be an M.
  • TARGET station: act_code = S with the TARGET seq_no.
  • New station: act_code = A with a new seq_no.
  • e_as_stn.stn_old exists, but CFEX does not use it for a rename.

E-4Unchanged station: remove it from the MOD

Remove the station from e_as_stn and all its e_srvcls rows. CFEX keeps the TARGET station in the MERGE (since the 2017 fix, CFEX-92).

Leaving it in the MOD with the TARGET seq_no and a blank act_code is Unverified. Removal is the tested method.

SVALBARD case, 30 Nov 2026 ·

E-5New station: act_code A, free seq_no, unique name

  • e_as_stn.act_code = A.
  • seq_no not used by any station of the group in TARGET or in the MOD (e.g. TARGET max + 1; developers used + 50).
  • All its e_srvcls.seq_e_as = that seq_no.
  • stn_name unique in the group. Duplicate stations (same name, type and country) stopped CFEX. The same name in different groups is allowed.

Confluence: meeting 2026-07-31

E-6Suppress an existing station: act_code S and the TARGET seq_no

Follows from E-1 and E-5. Not tested on a real case. Do not confuse "suppress from TARGET" (S in the MOD) with "remove an unchanged station from the MOD" (E-4).

Option "Replace all earth stations" = Yes

E-8Action codes are ignored

CFEX replaces the TARGET stations with the MOD stations. A station with act_code = S in the MOD stays in the result. To suppress a station with this option, omit it from the MOD.

E-9Alternative fix for seq_no and duplicate-key problems

The developers proposed this option as the second solution in CFEX-66.

E-10The MOD must contain all the stations to keep

An unchanged station that is not in the MOD is probably lost. It is also not known whether the option applies to all groups or only to the modified groups.

Referential integrity (always)

E-11Keep e_as_stn and e_srvcls in step

  • e_as_stn.grp_id = e_srvcls.grp_id and e_as_stn.seq_no = e_srvcls.seq_e_as.
  • When you change e_as_stn.seq_no, change all its e_srvcls.seq_e_as.
  • Do not change e_srvcls.seq_no because e_as_stn.seq_no changed.
  • When you remove an e_as_stn row, remove its e_srvcls rows.

E-12Every station needs at least one e_srvcls row

In TARGET and in the MOD. Missing rows in TARGET stopped CFEX; they were added in TARGET.

Real cases

CaseProblemFix
HODOYOSHI 118500101 (2018) CFEX2 invalid comparison flag or action code, stations 1, 3, 4MOD seq_no = TARGET seq_no; ctry workaround
ELSA-D (2019) MOD seq_no did not correspond to TARGETMOD e_as_stn and e_srvcls renumbered + 50; TARGET stations deleted from MERGE after CFEX
MERGE 325644077 (2025) Duplicate key (325644077, 15, 1) in e_srvcls. 14 new stations; the TARGET station kept in the MOD with seq_no 15 instead of 1Swap seq_no 1 and 15 in e_as_stn and e_srvcls, or use "Replace all earth stations"
USPWSA-T1TL 123545393 (2026) Stations with S stayed in the result"Replace all earth stations" was selected → action codes ignored
SVALBARD – MOD 126500234, TARGET 123500124, beams SD1, XDN, SUP (30 Nov 2026)TARGET seq_no 1; MOD seq_no 5 with A → CFEX2 invalid action code. A changed to M without seq_no → duplicate key in e_srvclsModified: M, seq_no 1, seq_e_as 1. Unchanged: remove SVALBARD and its e_srvcls rows

6. Non-GSO orbits and phases (ntc_type = N)

From the SSD specification for CFEX v9.1 (2022), implemented in 2023 (CFEX-97). "Fatal" = CFEX stops.

O-1A orbit must not exist in TARGET

Fatal: "Action code A was wrongly set for the orbital plane no. [orb_id] in MOD".

O-2M orbit must exist in TARGET

Fatal: "Action code M was wrongly set for the orbital plane no. [orb_id] in MOD".

O-3M orbit must keep the TARGET orb_set_id

If the TARGET orb_set_id is not null and differs from the MOD → fatal "Action code M was wrongly set …".

O-4S orbit must exist in TARGET

Fatal: "Action code S was wrongly set for the orbital plane no. [orb_id] in MOD".

O-5Orbit without action code must exist in TARGET

Fatal: "There is no orbital plane no. [orb_id] in TARGET".

O-6Orbit without action code must be identical to TARGET

If an orbit field or phase_ang differs from TARGET → fatal: set M on the orbit and clone all its beams and groups with M from TARGET. A missing value is copied from TARGET with a warning only.

O-7M orbit: clone all its beams and groups with M

A TARGET beam linked to an M orbit and missing from the MOD → fatal "Action code M should be set for the beam … Kindly clone this beam and all groups of this beam with action code M from TARGET to MOD and run CFEX again".

O-8S orbit: suppress the beams linked only to it

A TARGET beam linked only to an S orbit must be cloned with S, without groups. Otherwise fatal.

O-9Multiple configurations must be captured in TARGET

If TARGET has f_constell ≠ N, multi_config_type null or M, and orb_set_id null on all orbits → fatal "Information for multiple configurations was not captured in TARGET, kindly capture this information in TARGET and run CFEX again".

O-10Computed and inherited non-GSO data

  • MERGE nbr_plane = TARGET nbr_plane + A orbits − S orbits.
  • ref_body or f_sdm different from TARGET → TARGET fully replaced by the MOD (warning).
  • nbr_sat_td, sat_oper, ntc_commit (QV), c_pfd, f_epfd, f_pfd_lim, f_aes_char: copied from TARGET if missing in the MOD and the related groups are not all suppressed.

O-11Orbit ids are never renumbered

After a suppression, the other orb_id and orb_sat_id values stay the same.

Confluence: Understanding CFEX

O-12Option "Replace NGSO tables"

Copies non_geo, orbit, orbit_lnk, phase, epfd_phase, epfd_param from the MOD. Use it for non-basic orbit changes or corrections (e.g. altitude station keeping).

O-13Basic orbit change clears findings of the linked beams/groups

Number of satellites, planes, apogee, perigee, inclination: CFEX clears findings and sets findings-required on the beams/groups linked to that orb_id (fixed 2026).

7. Findings, cost recovery and CFEX options

MERGE recordf_fdg_reqd / f_cost_rec
Beam AY / Y
Beam MI / I
Group A, or blank group under a beam AY / Y
Group MI / I

SSD specification 2022 Spec

F-1A basic change clears coordination provisions

CFEX sets findings-required and clears the provisions. This is correct behaviour.

F-2Select "Keep findings" to keep provisions of untouched groups

If it is not selected on a MOD, the provisions of the untouched groups are cleared in the MERGE.

F-3"Keep findings" + a change that needs new findings = stop

CFEX stops when findings must be updated but "Keep findings" was selected.

F-4Internal MOD findings

I: findings-required forced to null, no cost recovery, no WIC clearing. R: like external for findings and WIC.

Confluence: Understanding CFEX

8. Check the MERGE after CFEX

Data that CFEX lost or changed in the past. Most issues are fixed; check them on important cases.

A-1orbit.apog_dist, perig_dist not empty (non-GSO)

A-2Phases present when the MOD has phases and TARGET has none

A-3orbit_set and epfd_param present

A-4interf_poc taken into account

A-5Group dates d_rcv_start / d_reg_limit correct

11.43A and suppress-and-re-add cases (CARABINER).

A-6Removal of grp.eirp_nom applied

A-7Associated space stations present (API MOD)

A-8prov_desc token 6.16 (AP30B / AP30B-ESIM Part B) not yet supported

Open issue.

A-9Earth stations: expected list per group

No station with S left when "Replace all earth stations" was used.

A-10Validate the MERGE

Validation reports modified and inherited groups. Fatal errors can come from the TARGET part.

9. Error lookup

Paste the message from the CFEX report, or click a known message.

10. Pre-CFEX checklist

Your ticks are kept in this browser only.

11. Open points

  • Does CFEX accept an unchanged station left in the MOD with the TARGET seq_no and a blank act_code? (E-4)
  • S on an associated earth station with the replace option off: not tested on a real case. (E-6)
  • Scope of "Replace all earth stations": all groups or only modified groups? (E-10)
  • Does CFEX use phase.act_code? No answer recorded.
  • Fatal error when provn is empty and "Keep findings" is not selected (open request).

12. Sources

Confluence

Jira

  • Earth stations:
  • Notice / status:
  • Orbits:
  • Findings:
  • Other:

Local files

  • BR Tools\CFEX\Specification for actions that should be done by CFEX v9.1_final 2022 0909.docx
  • BR Tools\CFEX\cfex_specs.md
  • cfex_rules.md (same content as this page, Markdown)