Hello
I am creating a data set that has long characters.
It is in Hebrew language.
I don't know why in the output data set I have only 3 rows while I entered 6 rows
Data tbl;
informat x $200.;
input x $200.;
cards;
אאאאא אאאאא
הההההה דדדדד דד בב
כככככ ררררר ייי ככ
ייייי סססס ככ
ייי עעע כככ+גגגג גג
כככעי גגגג
;
run;
Hi @Ronein That's happening bcoz of automative FLOWOVER default in reading variable length records that makes SAS to read the next dataline into the input buffer to read until the specified length defined in the informat. To override that, you need TRUNCOVER
Data tbl;
infile cards truncover;
informat x $200.;
input x $200.;
cards;
אאאאא אאאאא
הההההה דדדדד דד בב
כככככ ררררר ייי ככ
ייייי סססס ככ
ייי עעע כככ+גגגג גג
כככעי גגגג
;
run;
BTW, Shalom! I love Hebrew!
Hi @Ronein That's happening bcoz of automative FLOWOVER default in reading variable length records that makes SAS to read the next dataline into the input buffer to read until the specified length defined in the informat. To override that, you need TRUNCOVER
Data tbl;
infile cards truncover;
informat x $200.;
input x $200.;
cards;
אאאאא אאאאא
הההההה דדדדד דד בב
כככככ ררררר ייי ככ
ייייי סססס ככ
ייי עעע כככ+גגגג גג
כככעי גגגג
;
run;
BTW, Shalom! I love Hebrew!
Thank you so much! Let's start learn Hebrew...lol
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.