addDd

Top  Previous  Next

Adds at the end of the WorkFile the content of a file referenced with by a DD file link value.

Syntax

addDd(value)

Parameters

value

File link string information, as described in DD & DLBL section.

Return code

None.

Sample

var concatenated=createWorkFile();
concatenated.addDd("FILEIN-1.txt,cat=FLATCAT,disp=(OLD,KEEP),type=flat");
concatenated.addDd("FILEIN-2.txt,cat=FLATCAT,disp=(OLD,KEEP),type=flat");
dd("FILEIN", concatenated.getDD());