Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 8500

All Other Mainframe Topics :: RE: Strings with double quotes having problem when used with DLM

$
0
0
Author: vasanthz
Posted: Fri Mar 31, 2017 11:17 pm (GMT 5.5)

Based on your input and output, you need to remove the DSD option in your original code and you would get the output that you require.

From
Code:
FILE OUTFIL DLM='*' DSD;

to
Code:
FILE OUTFIL DLM='*';


Illustration:
Code:
DATA DOGE;                                               
INFILE cards;                                           
INPUT @1 NAME $CHAR17. @18 age 2. @21 City $char3.;     
FILE log DLM='*';                                       
PUT NAME age city;                                       
cards;                                                   
"SAMP-ALL" STORES31 YORK        <--- INPUT RECORD.                               
;                                                       
run;


OUTPUT:
Code:
"SAMP-ALL" STORES*31*YOR

_________________
Strike, Scream & Run - Creed Bratton


Viewing all articles
Browse latest Browse all 8500

Trending Articles