<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic JSL- How do I get rid of quotation marks when saving to .mdf file in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/JSL-How-do-I-get-rid-of-quotation-marks-when-saving-to-mdf-file/m-p/215081#M42999</link>
    <description>&lt;P&gt;The code shown below saves the data shown below into a .mdf file, however, I cant figure out how to keep JMP from writing the quotation marks shown at the beginning of the saved data.&amp;nbsp; How do I get rid of these quotation marks?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;DataCV=open("C:\Desktop\JMP\sample_data.csv"); 
Summarize( DataCV, processArray = By( :process ) );

For( m = 1, 
m &amp;lt;= Length( processArray ), 
m++,		// Generates and saves all Cdg splines
	Eval(
		Substitute(
				Expr(
					biv = Bivariate(
						Y( :c_mm_deembed_pf ),
						X( :v_dut_volt ),
						Where( :c_type == "Cdg" &amp;amp; :process == __process__ ),
						Fit Spline( 0.1, standardized, {save predicteds} )	
					)
				),
			Expr( __process__ ), processArray[m]
		)
	)
);

(Data Table( DataCV ) &amp;lt;&amp;lt; Tabulate(	// Create new table
       Add Table(
              Column Table( Analysis Columns( :Spline Predictor for c_mm_deembed_pf Where ) ),
              Row Table( Grouping Columns(:serial_num, :process, :c_type, :v_dut_volt ) )
       )
)) &amp;lt;&amp;lt; Make Into Data Table;

currentDataTable()&amp;lt;&amp;lt;AddRows(1);	// Add an empty last row so while loop knows when its at the end

q = 0;
proc = "new";
i = 1;
while(q == 0,			// Delete redundant splines (:process x :c_type combinations)
	if (proc != :process[i], 
		proc = :process[i]; sn = :serial_num[i]; i+=1
	);
	if (proc == :process[i] &amp;amp; sn == :serial_num[i],					
		i+=1	
	);				
	if (proc == :process[i] &amp;amp; sn != :serial_num[i],	
		CurrentDataTable()&amp;lt;&amp;lt;DeleteRows(i) 
	);
	if (:process[i] == "",
		q = 1;
	);
);

currentDataTable() &amp;lt;&amp;lt; Delete Rows(i);	// Delete empty last row
currentDataTable() &amp;lt;&amp;lt; new column("Index", character);

cap = "new";
for (k = 1, k&amp;lt;=NRows(currentDataTable()), k++,	// Add VARs for ADS indexing
	if (cap != :c_type[k], 
		currentDataTable() &amp;lt;&amp;lt; Add Rows(1, k-1); j=1; cap = :c_type[k+1]; proc = :process[k+1]
	);
	if (j==1,
		For Each Row(:Index = if(:c_type=="", 	// This is where the quotation marks originate from
					"\!NVAR CURVE(1) = " || char(cap) || "\!NVAR TECH(1) = " || char(proc) || "\!NBEGIN\!N% ind(1)	dep(1)", 
					:Index));
		For Each Row(:c_type = if(:c_type=="", 
					char(cap), 
					:c_type)); j=0
	);
);


currentDataTable() &amp;lt;&amp;lt; delete columns("c_type", "serial_num", "process");	// Delete all rows except for ind(1) and dep(1)

xptPref = Get Preferences( Export Settings );	// .MDF format
Preferences(
	ExportSettings(
		End Of Line( CRLF ),
		End Of Field( Tab ),
		Export Table Headers( 0 )
	)
);

currentDataTable () &amp;lt;&amp;lt; Save As( "C:\Desktop\JMP\GeneratedFiles\RoughDraft2Output.mdf", "text" );	// Save as .MDF, however, i dont want any quotes&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;		"
VAR CURVE(1) = Cdg
VAR TECH(1) = G50V3-3
BEGIN
% ind(1)	dep(1)"
0.1392	3.1931865994	
1.139	2.7623010959	
2.1344	2.3391306476	
3.1346	1.9319516519	
4.0714	1.5817641476	
5.0892	1.2466683948	
6.0128	0.9880976277	
6.971	0.7661291093	
7.8366	0.6040645312	
8.7254	0.4720246289	
9.5982	0.3719428625	
10.379	0.303489106	
11.2286	0.2476917169	
12.0762	0.2076956614	
12.8542	0.1818554683	
13.715	0.1626401602	
14.5604	0.1510540199	
15.486	0.1444224576	
16.365	0.1422448881	
17.274	0.1427599758	
18.1818	0.1449372904	
19.0986	0.1479270102	&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 28 Jun 2019 21:57:12 GMT</pubDate>
    <dc:creator>adjo9835</dc:creator>
    <dc:date>2019-06-28T21:57:12Z</dc:date>
    <item>
      <title>JSL- How do I get rid of quotation marks when saving to .mdf file</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-How-do-I-get-rid-of-quotation-marks-when-saving-to-mdf-file/m-p/215081#M42999</link>
      <description>&lt;P&gt;The code shown below saves the data shown below into a .mdf file, however, I cant figure out how to keep JMP from writing the quotation marks shown at the beginning of the saved data.&amp;nbsp; How do I get rid of these quotation marks?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;DataCV=open("C:\Desktop\JMP\sample_data.csv"); 
Summarize( DataCV, processArray = By( :process ) );

For( m = 1, 
m &amp;lt;= Length( processArray ), 
m++,		// Generates and saves all Cdg splines
	Eval(
		Substitute(
				Expr(
					biv = Bivariate(
						Y( :c_mm_deembed_pf ),
						X( :v_dut_volt ),
						Where( :c_type == "Cdg" &amp;amp; :process == __process__ ),
						Fit Spline( 0.1, standardized, {save predicteds} )	
					)
				),
			Expr( __process__ ), processArray[m]
		)
	)
);

(Data Table( DataCV ) &amp;lt;&amp;lt; Tabulate(	// Create new table
       Add Table(
              Column Table( Analysis Columns( :Spline Predictor for c_mm_deembed_pf Where ) ),
              Row Table( Grouping Columns(:serial_num, :process, :c_type, :v_dut_volt ) )
       )
)) &amp;lt;&amp;lt; Make Into Data Table;

currentDataTable()&amp;lt;&amp;lt;AddRows(1);	// Add an empty last row so while loop knows when its at the end

q = 0;
proc = "new";
i = 1;
while(q == 0,			// Delete redundant splines (:process x :c_type combinations)
	if (proc != :process[i], 
		proc = :process[i]; sn = :serial_num[i]; i+=1
	);
	if (proc == :process[i] &amp;amp; sn == :serial_num[i],					
		i+=1	
	);				
	if (proc == :process[i] &amp;amp; sn != :serial_num[i],	
		CurrentDataTable()&amp;lt;&amp;lt;DeleteRows(i) 
	);
	if (:process[i] == "",
		q = 1;
	);
);

currentDataTable() &amp;lt;&amp;lt; Delete Rows(i);	// Delete empty last row
currentDataTable() &amp;lt;&amp;lt; new column("Index", character);

cap = "new";
for (k = 1, k&amp;lt;=NRows(currentDataTable()), k++,	// Add VARs for ADS indexing
	if (cap != :c_type[k], 
		currentDataTable() &amp;lt;&amp;lt; Add Rows(1, k-1); j=1; cap = :c_type[k+1]; proc = :process[k+1]
	);
	if (j==1,
		For Each Row(:Index = if(:c_type=="", 	// This is where the quotation marks originate from
					"\!NVAR CURVE(1) = " || char(cap) || "\!NVAR TECH(1) = " || char(proc) || "\!NBEGIN\!N% ind(1)	dep(1)", 
					:Index));
		For Each Row(:c_type = if(:c_type=="", 
					char(cap), 
					:c_type)); j=0
	);
);


currentDataTable() &amp;lt;&amp;lt; delete columns("c_type", "serial_num", "process");	// Delete all rows except for ind(1) and dep(1)

xptPref = Get Preferences( Export Settings );	// .MDF format
Preferences(
	ExportSettings(
		End Of Line( CRLF ),
		End Of Field( Tab ),
		Export Table Headers( 0 )
	)
);

currentDataTable () &amp;lt;&amp;lt; Save As( "C:\Desktop\JMP\GeneratedFiles\RoughDraft2Output.mdf", "text" );	// Save as .MDF, however, i dont want any quotes&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;		"
VAR CURVE(1) = Cdg
VAR TECH(1) = G50V3-3
BEGIN
% ind(1)	dep(1)"
0.1392	3.1931865994	
1.139	2.7623010959	
2.1344	2.3391306476	
3.1346	1.9319516519	
4.0714	1.5817641476	
5.0892	1.2466683948	
6.0128	0.9880976277	
6.971	0.7661291093	
7.8366	0.6040645312	
8.7254	0.4720246289	
9.5982	0.3719428625	
10.379	0.303489106	
11.2286	0.2476917169	
12.0762	0.2076956614	
12.8542	0.1818554683	
13.715	0.1626401602	
14.5604	0.1510540199	
15.486	0.1444224576	
16.365	0.1422448881	
17.274	0.1427599758	
18.1818	0.1449372904	
19.0986	0.1479270102	&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2019 21:57:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-How-do-I-get-rid-of-quotation-marks-when-saving-to-mdf-file/m-p/215081#M42999</guid>
      <dc:creator>adjo9835</dc:creator>
      <dc:date>2019-06-28T21:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: JSL- How do I get rid of quotation marks when saving to .mdf file</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-How-do-I-get-rid-of-quotation-marks-when-saving-to-mdf-file/m-p/215363#M43034</link>
      <description>&lt;P&gt;What version of JMP are you using?&amp;nbsp; I don't replicate the behavior using JMP 14 with the following simple example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Preferences(
	ExportSettings(
		End Of Line( CRLF ),
		End Of Field( Tab ),
		Export Table Headers( 0 )
	)
);
dt = Open( "$SAMPLE_DATA\Big Class.jmp" );
dt &amp;lt;&amp;lt; Save As( "$TEMP\Big Class_text.mdf", "text" );
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Notice there is no double-quote shown at the top of the file in a common text editor:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 344px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/18060i5AB603C8AB2C4762/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2019 13:55:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-How-do-I-get-rid-of-quotation-marks-when-saving-to-mdf-file/m-p/215363#M43034</guid>
      <dc:creator>Wendy_Murphrey</dc:creator>
      <dc:date>2019-06-28T13:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: JSL- How do I get rid of quotation marks when saving to .mdf file</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-How-do-I-get-rid-of-quotation-marks-when-saving-to-mdf-file/m-p/215371#M43038</link>
      <description>&lt;P&gt;It's because of the returns in the text string.&lt;/P&gt;
&lt;P&gt;The file uses returns to signal the end of a line&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="jsl"&gt;End Of &lt;SPAN class="token function"&gt;Line&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt; CRLF &lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;&lt;/LI-CODE&gt;
&lt;P&gt;If this piece isn't quoted when it's saved out to a text file:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;
VAR CURVE(1) = F
VAR TECH(1) = 12
BEGIN
% ind(1)	dep(1)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Then each one of those lines would count as a row when you later parse the file to add to a database or open with Excel.&lt;/P&gt;
&lt;P&gt;For example, if you edit your file so that you have two copies - one with the quotes and one without, you get two very different results when opening in Excel.&lt;/P&gt;
&lt;P&gt;With quotes, it's seen as one string that gets put into the correct cell.&lt;/P&gt;
&lt;P&gt;Without the quotes, Each of the five lines (including the blank one) is seen as its own row, and each line goes into the first cell in a row before you get to the rest of the data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HTH,&lt;/P&gt;
&lt;P&gt;Melanie&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2019 15:21:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-How-do-I-get-rid-of-quotation-marks-when-saving-to-mdf-file/m-p/215371#M43038</guid>
      <dc:creator>Melanie_J_Drake</dc:creator>
      <dc:date>2019-06-28T15:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: JSL- How do I get rid of quotation marks when saving to .mdf file</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-How-do-I-get-rid-of-quotation-marks-when-saving-to-mdf-file/m-p/215407#M43043</link>
      <description>&lt;P&gt;I don't follow.&amp;nbsp; When I take the quotes out of&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;"\!NVAR CURVE(1) = " || char(cap) || "\!NVAR TECH(1) = " || char(proc) || "\!NBEGIN\!N% ind(1) dep(1)", &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;to arrive at&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;\!NVAR CURVE(1) = || char(cap) || \!NVAR TECH(1) =  || char(proc) || \!NBEGIN\!N% ind(1) dep(1), &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I get a compilation error.&amp;nbsp; How did you get each line to go into its own cell, without any quotation marks in the output?&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #000000; direction: ltr; font-family: Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; line-height: 21px; -ms-hyphens: none; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-shadow: 0px 1px white; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-break: normal; word-spacing: 0px; word-wrap: normal;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2019 17:31:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-How-do-I-get-rid-of-quotation-marks-when-saving-to-mdf-file/m-p/215407#M43043</guid>
      <dc:creator>adjo9835</dc:creator>
      <dc:date>2019-06-28T17:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: JSL- How do I get rid of quotation marks when saving to .mdf file</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-How-do-I-get-rid-of-quotation-marks-when-saving-to-mdf-file/m-p/215444#M43049</link>
      <description>&lt;P&gt;Im using JMP 13.0.0.&amp;nbsp; However, my script is quite a bit different from the script you are running. A seciton of my code inserts information into specific rows, as shown below.&amp;nbsp; This is where the unwanted quotes are originating from.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;cap = "new";
For( k = 1, k &amp;lt;= N Rows( Current Data Table() ), k++, 	// Add VARs for ADS indexing (This is where unwanted quotation marks originate from)
	If( cap != :c_type[k],
		Current Data Table() &amp;lt;&amp;lt; Add Rows( 1, k - 1 );
		cap = :c_type[k + 1];
		proc = :process[k + 1];
		For Each Row(
			If( :c_type == "",
				:c_type = "Blank";
				:Index = "\!NVAR CURVE(1) = " || Char( cap ) || "\!NVAR PROCESS(1) = " ||
				Char( proc ) || "\!NVAR RETICLE(1) = " || Char( ret ) ||
				"\!NBEGIN\!N% ind(1)	dep(1)";
			)
		);
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 28 Jun 2019 21:09:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-How-do-I-get-rid-of-quotation-marks-when-saving-to-mdf-file/m-p/215444#M43049</guid>
      <dc:creator>adjo9835</dc:creator>
      <dc:date>2019-06-28T21:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: JSL- How do I get rid of quotation marks when saving to .mdf file</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-How-do-I-get-rid-of-quotation-marks-when-saving-to-mdf-file/m-p/215446#M43050</link>
      <description>&lt;P&gt;I'm sorry - I wasn't clear. I opened the .mdf file in a text editor, removed the quotation marks, and saved under a different file. This exercise just shows why you have to have the quotation marks there.&lt;/P&gt;
&lt;P&gt;If you need to remove them completely, then you'll have to remove the returns from that piece of text. It looks like a code snippet, so I don't know if that will work for you, but this structure will not work without either the returns or the quotes.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2019 19:01:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-How-do-I-get-rid-of-quotation-marks-when-saving-to-mdf-file/m-p/215446#M43050</guid>
      <dc:creator>Melanie_J_Drake</dc:creator>
      <dc:date>2019-06-28T19:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: JSL- How do I get rid of quotation marks when saving to .mdf file</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-How-do-I-get-rid-of-quotation-marks-when-saving-to-mdf-file/m-p/215487#M43058</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #333333; cursor: text; font-family: Arial,Helvetica,sans-serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; line-height: 27.42px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;When you say "&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #333333; font-family: Arial,Helvetica,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; line-height: 19.6px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;remove the returns from that piece of text,&lt;/SPAN&gt;" do you mean taking the lines of code shown below:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;For Each Row(:Index = if(:c_type=="", 
			"\!NVAR CURVE(1) = " || char(cap) || "\!NVAR TECH(1) = " || char(proc) || "\!NBEGIN\!N% ind(1)	dep(1)", 
			:Index));&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and turning them into into this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;For Each Row(:Index = if(:c_type=="", &lt;BR /&gt;			"VAR CURVE(1) = " || char(cap) || "VAR TECH(1) = " || char(proc) || "BEGIN% ind(1) dep(1)", &lt;BR /&gt;			:Index));&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;?&lt;/P&gt;&lt;P&gt;Doing that returns the image shown below, which still includes the quotation marks.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 702px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/18079i2A55C5FFF4AD085A/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;How do I get my output to go from the format shown below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 198px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/18083i29996B29031D3851/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;To this format shown below?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 204px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/18084i635C13D771A50EB4/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2019 21:31:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-How-do-I-get-rid-of-quotation-marks-when-saving-to-mdf-file/m-p/215487#M43058</guid>
      <dc:creator>adjo9835</dc:creator>
      <dc:date>2019-06-28T21:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: JSL- How do I get rid of quotation marks when saving to .mdf file</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-How-do-I-get-rid-of-quotation-marks-when-saving-to-mdf-file/m-p/215489#M43060</link>
      <description>&lt;P&gt;I think you might have a better chance of getting what you want, if you use the below JSL, replacing everything from line 52&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;cap = "new";&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;to the bottom, with:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;save text file("C:\Desktop\JMP\GeneratedFiles\RoughDraft2Output.mdf",
	"\!NVAR CURVE(1) = " || char(:c_type[1]) || "\!NVAR TECH(1) = " || char(proc) || "\!NBEGIN\!N% ind(1)	dep(1)",
	mode( "replace" )
);

for (k = 1, k&amp;lt;=NRows(currentDataTable()), k++,
	If(:c_type[i] != lag(c_type[i]) &amp;amp; k &amp;gt; 1,
		save text file("C:\Desktop\JMP\GeneratedFiles\RoughDraft2Output.mdf",
			"\!NVAR CURVE(1) = " || char(:c_type[1]) || "\!NVAR TECH(1) = " || char(proc) || "\!NBEGIN\!N% ind(1)	dep(1)",
			mode( "append" )
		);
	);
	save text file("C:\Desktop\JMP\GeneratedFiles\RoughDraft2Output.mdf",
		char(:v_dut_volt) "\!t" char(:Name("Sum(Spline Predictor for c_mm_deembed_pf Where)")) || "\!n",
		mode( "append" )
	);
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I have used the Save Text File() function many times when I need to create a text file of a specific format.&amp;nbsp; It will strip out the quotations.&lt;/P&gt;</description>
      <pubDate>Sat, 29 Jun 2019 02:52:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-How-do-I-get-rid-of-quotation-marks-when-saving-to-mdf-file/m-p/215489#M43060</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2019-06-29T02:52:43Z</dc:date>
    </item>
  </channel>
</rss>

