SAS-IMS在 Linux上
I am trying to send IMS records from Mainframe to Linux and process using SAS.
But when i read the file using SAS it shows the minimum record length was 6 and maximum was 800 whereas in mainframe minimum record length was 24476 and maximum record length was 24476.
Can you please tell why SAS is interpreting differently on linux?
我的内联语句应该怎么写?
filename ims "/path/ims_fb.dat";
data test;
infile ims recfm=f lrecl=24568;
input record $char24568.;
run;
解决方案
Check how the dataset was transferred from z/OS to Linux. If the original dataset has LRECL=24476 and RECFM=FB/VB, verify that the transfer preserved the record structure and that the file was transferred in binary mode. Also confirm whether EBCDIC-to-ASCII conversion was performed. On Linux, SAS may be treating newline characters or binary control bytes as record delimiters, which would explain why it reports record lengths between 6 and 800 instead of the expected fixed length of 24476. Knowing the original RECFM, FTP method, and SAS INFILE statement would help diagnose the issue.
站内所有文章版权归属LeftHeroAI导航站,无授权禁止任何主体转载、抄袭、复制内容,亦不得私自架设镜像站点。一经侵权,本站将通过法律途径追责。