BookmarkSubscribeRSS Feed
kannand
Lapis Lazuli | Level 10

Hello - 

 

I came across this article that shows that "termstr" option can be used for delimited files from Unix to Windows, vice-versa... 

 

I am just curious, is there an equivalent of this option in the mainframe environment ?   Is it possible to define the EOL character in an INFILE statement on the mainframe ?

 

Thanks in advance...

Kannan Deivasigamani
5 REPLIES 5
jakarman
Barite | Level 11

Kannand only when you are running a mainfrem in Unix mode the Unix rules apply. In the OLD MVS z/OS world it is completely different and nothing like Windos Unix exist. FB VB VSAM have well defined records and do not use a character indicator (termstr) for that. Ebcdic/Ascii code pages adding more comlexity to translations as some might think.

---->-- ja karman --<-----
kannand
Lapis Lazuli | Level 10

I failed to provide the link to the article I referred in my post earlier. ..here you go. ..

 

http://support.sas.com/kb/14/178.html

Kannan Deivasigamani
jakarman
Barite | Level 11

If you co not believe me ... this manual should be in your head.   The USS (HFS type is a UNIX way) and the normal classic datasets. FILENAME Statement: z/OS ,  SAS(R) 9.4 Companion for z/OS, Fifth Edition

https://support.sas.com/documentation/cdl/en/hosto390/68955/HTML/default/viewer.htm#n06xm17q99z0x6n1...

  

---->-- ja karman --<-----
kannand
Lapis Lazuli | Level 10

Thanks for the url. I'll read thru. 

 

I appreciate you looking into this.

Kannan Deivasigamani

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 5 replies
  • 2895 views
  • 2 likes
  • 3 in conversation