<?xml version="1.0" encoding="UTF-8"?>

<?context-directive job ctxfile x-setups.ctx ?>

<cd:interface xmlns:cd="http://www.pragma-ade.com/commands">

    <cd:command name="definedataset" level="system" category="system" file="core-dat.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
            <cd:resolve name="keyword-name-optional"/>
            <cd:assignments list="yes" optional="yes">
                <cd:inherit name="setupdataset"/>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="setupdataset" level="system" category="system" file="core-dat.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-name-list-optional"/>
            <cd:assignments list="yes">
                <cd:parameter name="delay">
                    <cd:constant type="yes"/>
                    <cd:constant type="no" default="yes"/>
                </cd:parameter>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="setdataset" level="system" category="system" file="core-dat.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
            <cd:resolve name="keyword-name-optional"/>
            <cd:resolve name="assignment-userdata-list"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="datasetvariable" level="system" category="system" file="core-dat.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-file-optional"/>
            <cd:resolve name="argument-name"/>
            <cd:keywords delimiters="braces">
                <cd:constant type="cd:name"/>
                <cd:constant type="cd:number"/>
            </cd:keywords>
            <cd:keywords delimiters="braces">
                <cd:constant type="cd:key"/>
                <cd:constant type="realpage"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

    <cd:command name="datasetsize" level="system" category="system" file="core-dat.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-file-optional"/>
            <cd:resolve name="argument-name"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="datasetindex" level="system" category="system" file="core-dat.mkxl"/>

    <cd:command name="datasetentry" level="system" category="system" file="core-dat.mkxl">
        <cd:arguments>
            <cd:keywords delimiters="braces">
                <cd:constant type="cd:key"/>
                <cd:constant type="realpage"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

    <cd:command name="processdataset" level="system" category="system" file="core-dat.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-file-optional"/>
            <cd:resolve name="keyword-name"/>
            <cd:resolve name="keyword-name"/>
        </cd:arguments>
    </cd:command>

</cd:interface>
