There is no such thing as a "QSAM file."
- QSAM is an access method. QSAM describes the macro instructions an Assembler programmer uses to access data on disk or tape.
- In MVS, a file is the data on a magnetic tape volume between
- the beginning of a tape and a "tape mark," or
- the data between two "tape marks." Period. End of story.
There is a fundamental difference between a file
as used in Linux/Unix/Windoze (LUW) operating systems and MVS. A "file" in LUW systems is a named stream of data. In MVS systems, the data in a "data set" is divided into logical records that have defined characteristics and exist in physical records that also have defined characteristics.
The correct way to state your question is, "I want to use IEBDG to create a sequential data set
with whatever data characteristics I want.