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 !!!!!!!!!!!!!
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.
Ready to level-up your skills? Choose your own adventure.