Primavera (MOSC)

MOSC Banner

Parsing Primavera P6 dbo.CALENDAR [clndr_data] field

in Primavera (MOSC) 4 commentsAnswered

Primavera P6 Enterprise v 16.2

SQL Server 2014 (12.0.4100.1)

Hi All,

Can anyone provide me with a guide or perhaps even a script for parsing the Primavera P6 dbo.CALENDAR [clndr_data] field? I would be happy if there is something in T-SQL or C#, or even just a guide.

I have a requirement to put 100s of calendars into a tabular format, and to interpret new calendars as they are created.

Best regards,

Carl

Example data: in one cell of dbo.CALENDAR [clndr_data] field

(0||CalendarData()(

 (0||DaysOfWeek()(

  (0||1()(

   (0||0(s|00:00|f|00:00)())))

  (0||2()(

   (0||0(s|00:00|f|00:00)())))

  (0||3()(

   (0||0(s|00:00|f|00:00)())))

  (0||4()(

   (0||0(s|00:00|f|00:00)())))

  (0||5()(

   (0||0(s|00:00|f|00:00)())))

  (0||6()(

   (0||0(s|00:00|f|00:00)())))

  (0||7()(

   (0||0(s|00:00|f|00:00)())))))

 (0||VIEW(ShowTotal|N)())

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center