The first problem I see is that the data is not in JSON format. Your text file shows lines in the form of:
{id=1, kind=de, ser=H2,xid=604,nid=103, ceid=3,nrid=894448f2, redf=1, nans=null,updateddt=2018-11-10},
To be in JSON format, it needs to look like:
{"id":1, "kind":"de", "ser":"H2","xid":604, "nid":103, "ceid":3, "nrid":"894448f2", "redf":1, "nans":"null", "updateddt":"2018-11-10"},
Here is your posted data in valid JSON format:
[{"id":1, "kind":"de", "ser":"H2","xid":604, "nid":103, "ceid":3,"nrid":"894448f2", "redf":1, "nans":"null","updateddt":"2018-11-10"},
{"id":2, "kind":"de", "ser":"H2","xid":604, "nid":115, "ceid":2,"nrid":"724448f2", "redf":0, "nans":"some data available","updateddt":"2018-11-10"},
{"id":3, "kind":"de", "ser":"H2","xid":604, "nid":125, "ceid":4,"nrid":"854448f2", "redf":1, "nans":"some issues","updateddt":"2018-11-10"},
{"id":4, "kind":"de", "ser":"J2","xid":605, "nid":211, "ceid":3,"nrid":"7881dd3d", "redf":1, "nans":"there is data","updateddt":"2018-11-11"},
{"id":5, "kind":"de", "ser":"J2","xid":605, "nid":217, "ceid":1,"nrid":"ffcb48f2", "redf":1, "nans":"test","updateddt":"2018-11-11"},
{"id":6, "kind":"de", "ser":"J2","xid":605, "nid":217, "ceid":3,"nrid":"810c395d", "redf":0,"nans":"attacked", "updateddt":"2018-11-11"},
{"id":7, "kind":"de", "ser":"J3","xid":605, "nid":187, "ceid":1,"nrid":"540c395d", "redf":0, "nans":"null","updateddt":"2018-11-11"},
{"id":8, "kind":"de", "ser":"J2","xid":605, "nid":193, "ceid":3,"nrid":"48f2310c", "redf":1, "nans":"the bies","updateddt":"2018-11-11"},
{"id":9, "kind":"de", "ser":"J2","xid":605, "nid":199, "ceid":4,"nrid":"5610c395", "redf":1, "nans":"null","updateddt":"2018-11-11"}]
As noted previously, you have columns RED, REDF, and REDFL. Since your output example shows only the REDF field, I am going to assume that all three of these column names are actually the same column.
If you are able to get the data into valid JSON form, I found that the JSON libname engine worked fine:
libname x json './sasuser/sasComm700502.json';
proc print data=x.root(drop=ordinal_root); run;
Here are the results:
Obs id kind ser xid nid ceid nrid redf nans updateddt
1 1 de H2 604 103 3 894448f2 1 null 2018-11-10
2 2 de H2 604 115 2 724448f2 0 some data available 2018-11-10
3 3 de H2 604 125 4 854448f2 1 some issues 2018-11-10
4 4 de J2 605 211 3 7881dd3d 1 there is data 2018-11-11
5 5 de J2 605 217 1 ffcb48f2 1 test 2018-11-11
6 6 de J2 605 217 3 810c395d 0 attacked 2018-11-11
7 7 de J3 605 187 1 540c395d 0 null 2018-11-11
8 8 de J2 605 193 3 48f2310c 1 the bies 2018-11-11
9 9 de J2 605 199 4 5610c395 1 null 2018-11-11
... View more