Try STMFCODPAG(*PCASCII)
Alan Shore
E-mail : ASHORE@xxxxxxxx
Phone [O] : (631) 200-5019
Phone [C] : (631) 880-8640
'If you're going through hell, keep going.'
Winston Churchill
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of KV Info
Sent: Thursday, April 05, 2018 6:59 AM
To: MIDRANGE-L@xxxxxxxxxxxx
Subject: CSV File Creation to include Excel formula
Hello,
Iam creating a csv file in the IFS.
Customer has told us that for certain cells, if blank must have =("") entered.
This value has been entered but Excel treats it as a string and not a formula.
Excel will recognise this formula when creating a file on the PC using Notepad.
Is this related to the codepage I am specifying?
CPYTOSTMF FROMMBR(&INFPS) TOSTMF(&OUTFPS) STMFOPT(*REPLACE)
STMFCODPAG(1252)
Regards,
Alan Starkey
_____
Please consider the environment before printing this e-mail.
Please Note: All reasonable precautions have been taken to ensure this message is free from virus infection.
The preceding information may be confidential or privileged. If you are not an intended recipient, please notify the sender by replying to this message and then delete the information from your system.
Thank you for your co-operation.
KV Computer Services Ltd, Registered in England No. 2805028. VAT Reg.
No. 408062084
Registered Office: North Sands Business Centre, Dame Dorothy Street, Sunderland, SR6 0QA
E-mail: kvinfo@xxxxxxxxxxxxxxxxxxxxxxxx Tel: (0191) 510 9566, Fax: (0191)
510 0686
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
http://amzn.to/2dEadiD
As an Amazon Associate we earn from qualifying purchases.