I'm creating this flat file but it putting in 1 empty line at the top of file, how do I delete it?
output to itemlist.txt.
for each pt_mstr no-lock
where pt_part_type <> "CTN71"
with frame aaa no-label down:
display pt_part
pt_desc1
pt_site
pt_status
pt_pm_code with no-label.
end.
output close.
Here's the output file.
--- this is a blank line ----
10700 04 SED MALIBU DRV TOTAL RIV ACT P
10710 04 SED MALIBU PAS TOTAL RIV ACT P
10720 04 SED MALIBU R/CUSH RIV ACT P
10730 04 SED MALIBU R/BACK RIV ACT P
10740 04 XBACK MALIBU TOTALS RIV ACT P
292082 NUT-FLANGED HEX RIV OBS P
output to itemlist.txt.
for each pt_mstr no-lock
where pt_part_type <> "CTN71"
with frame aaa no-label down:
display pt_part
pt_desc1
pt_site
pt_status
pt_pm_code with no-label.
end.
output close.
Here's the output file.
--- this is a blank line ----
10700 04 SED MALIBU DRV TOTAL RIV ACT P
10710 04 SED MALIBU PAS TOTAL RIV ACT P
10720 04 SED MALIBU R/CUSH RIV ACT P
10730 04 SED MALIBU R/BACK RIV ACT P
10740 04 XBACK MALIBU TOTALS RIV ACT P
292082 NUT-FLANGED HEX RIV OBS P