Hi , I new to the mainframe environment i basically sas programmer i currently working on both environment so i have few dought on compilation of the sas jcl program below the prg
//rohit2a job (998924) 'krishna',
// class=0,msgclass=x,notify=&sysuid
//saspgm exec sssas,
// work='150,100', region=8m,sort='100,100'
//saslist dd sysout=*
//work dd space=(23476,(5,1)),avgrec=k
//dsinput1 dd dsn=in.test.half,disp=shr
//dsoutput dd dsn=in.test.file2. disp=new,
// unit=sysda,space=(cyl,(10,10),rlse),
// dcb=(recfm=fb,lrecl=128,blksize=12800)
//sysin dd *
------------sas prg begins here-----------------------
data freq;
infile dsinput1 dsd;
input @3 id $char4.
name $char4.
surname $char8.;
proc sort data=freq out=dsoutput nodupkey;
by id;
proc print data=dsoutput;
run;
so here the my dought mainly i getting the maxxcc=0000 and my output will display on spoll but not went to outputfile so what is issue and give the sum coding part and some expls
Thanks & Regards
N rohitkrishna
This job should fail with a JCL error. Try placing a comma (,) after in.test.file2 and not a period (.)
//dsoutput dd dsn=in.test.file2, disp=new,
Good Luck,
Randy
Hey, You should give SASLIST a data set name instead of giving * ( * means, it will write in spool).
Please refer the link below,
Sorry for the late reply..................... Cheers !!!!!!!!!!!!!
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 25. Read more here about why you should contribute and what is in it for you!
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.