Creating a source file with DDS

 

If you want to create a source file with data description specifications (DDS), use the Create Physical File (CRTPF) or Create Logical File (CRTLF) command.

If you want to create a source file for which define the record format, use the CRTPF or CRTLF command. If you create a source logical file, the logical file member should only refer to one physical file member to avoid duplicate keys. The following example shows the DDS needed to define the record format for a source file using the CRTPF command:

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
     A* 		R RECORD1
     A          F1             6S 2
     A          F2             6S      A          F3            92A      

 

Parent topic:

Creating a source file

 

Related reference


Create Physical File (CRTPF) command
Create Logical File (CRTLF) command