This is one of the very clever SDSF line commands. It allows you to combine multiple line items in one stream. XD (for file output) or XS (for spool output) on the first line, XC on the last line, and just X on middles lines, if any. The PF1 HELP indicates there is new option XF to specify a DDNAME instead of a DSNAME.
The only limitation is that the output file has the A RECFM attribute even if the spool entry was made with the M RECFM attribute. Conversion from one to another is an interesting programming exercise. IBM Mainframe Discussion List <[email protected]> wrote on 04/27/2006 11:03:50 AM: > Try "XDC" instead of "XD" - XDC closes the dataset after it prints to it. > -Original Message- > willie bunter > April 27, 2006 11:03 AM > Good Day, > I remember that I was able to perform the XD command which would > store the listing in a dataset. It creates the dataset however, > when I try the command again I get the message "print already open". > To get around it I get out of SDSF and get back in and try the > command which works. Is there a way to bypass this problem instead of getting in and out of SDSF? ----------------------------------------- The information contained in this communication (including any attachments hereto) is confidential and is intended solely for the personal and confidential use of the individual or entity to whom it is addressed. The information may also constitute a legally privileged confidential communication. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this communication in error and that any review, dissemination, copying, or unauthorized use of this information, or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. Thank you ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

