Home/Resources/Scheduling
Scheduling8 min read

Primavera P6 XER file: what's inside and what to check first.

An XER file is P6's native export format — a plain-text snapshot of your entire schedule. Understanding its structure is the fastest way to spot corrupted logic, missing resources and dodgy constraints before they cause problems downstream.

XER stands for nothing in particular — it's the file extension Primavera chose in Oracle P6. What it contains is everything: activities, relationships, constraints, calendars, resources, WBS structure and project metadata, packed into a series of tab-delimited tables that any text editor can open. Knowing what lives where makes every import, export and audit faster.

The structure: tables, not rows

An XER file is a flat text file divided into named sections by a %T marker, with column headers on the next line and data rows following. The key tables are:

TableWhat it containsWhy it matters
PROJECTProject metadata — name, data date, must-finish dateThe data date tells you how current the schedule is
PROJWBSWBS hierarchyStructural problems here break everything downstream
TASKEvery activity — ID, name, type, start, finish, duration, % complete, constraintsThe core of the schedule; most issues live here
TASKPREDAll relationships (predecessor → successor, type, lag)Logic quality — missing, excess or wrong relationships
CALENDARWorking calendars and exceptionsWrong calendar = wrong float everywhere
RSRCResource libraryMissing resources mean no cost or resource loading
TASKRSRCResource assignments per activityRequired for EV — empty if no resource loading exists

Five things to check before you trust the schedule

Before running any analysis on an imported XER file, run these five checks. They catch the problems that cause every downstream calculation — float, critical path, EV — to be wrong.

01
Data date vs todayThe data date is when the schedule was last updated. A data date of three weeks ago means float and critical path are computed against old information. Check it first — a stale data date invalidates every downstream number.
02
Open ends (dangling activities)Activities with no predecessor or no successor — except the project start and finish milestones — indicate missing logic. Dangles let the scheduler add float artificially and hide the true critical path.
03
Hard constraintsActivities with "Must Start On" or "Must Finish On" constraints override logic — the schedule ignores predecessors to honour the date. High constraint counts (DCMA threshold: <5% of activities) signal that relationships are missing and dates are being forced.
04
Negative lags (leads)A negative lag means "start before the predecessor finishes" — effectively a lead. Some are legitimate, but DCMA flags any lead as a red flag. High lead counts mean the logic is being shortcut rather than properly sequenced.
05
Activities with no resource loadingIf TASKRSRC is empty or sparse, there's no basis for earned-value computation. The schedule can tell you the critical path but not the cost performance. Check whether resource loading exists before building any EV report.
OPTEAM runs all five automatically

Upload an XER file and OPTEAM checks data date, open ends, constraints, leads and resource loading — flagging issues before any analysis starts.

Importing into OPTEAM

OPTEAM reads XER files natively — drag the file in and the engine parses every table, reconstructs the logic network and computes float, critical path, DCMA metrics and earned value in one pass. No reformatting, no column mapping, no P6 licence required on the receiving end.

The import also preserves the original activity IDs and WBS codes — essential for delay analysis, where everything must be traceable back to the baseline file.

Handling multiple baselines

A project may have a contract baseline, a revised baseline and a current schedule — each a separate XER file. OPTEAM can hold all of them, align them on the same WBS and show slip from any baseline, which is exactly what a delay analysis requires. The history is there; you don't have to rebuild it.

7
Core tables in every XER file
5
Checks before trusting the schedule
Native
OPTEAM reads XER without P6 installed
The takeaways
  • An XER file is a flat text file of tab-delimited tables — TASK, TASKPRED, CALENDAR are the most important.
  • Always check the data date before trusting any float or critical-path calculation.
  • Open ends, hard constraints and negative lags are the three logic problems that corrupt everything else.
  • Empty TASKRSRC means no resource loading — EV metrics will be unavailable or wrong.
  • OPTEAM parses XER natively and runs all five checks automatically on import.

Upload your XER file and see what's inside.

OPTEAM parses your P6 file, runs the checks and shows you what to fix — in minutes, no P6 licence needed.

Keep reading

Related reads