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

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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