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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

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
  • 1994 views
  • 2 likes
  • 3 in conversation