Aleem S
New User
Joined: 11 Nov 2020 Posts: 3 Location: india
|
|
|
|
Please see below the proc,
Code: |
//S01SAS EXEC WPS,
// PARM='SYSPARM="%LET IF_MV=MV;%LET XMAC=ANNUITY;%LET RAW=Y;
// %LET MTHYR=OCT20;"'
//SASEXEC DD DSN=SWDDEV.UICS.MACLIB.COMMON(AUTOEXEC),
// DISP=SHR
//IN DD DSN=SWDDEV.EOM20OCT.MAS001.ANNCURMV,DISP=SHR
//SASDATA DD DSN=SWDDEV.SASLIB.ANNUITYV.B0801,DISP=OLD
//RAWDATA DD DSN=SWDDEV.MV.SASDATA.B0507.NEW,DISP=OLD
//SASCAT DD DSN=SWDDEV.UACTMAST.CPORT.ANNUITYV,DISP=OLD
//MVSUMEX DD DSN=SWDDEV.REPORTS.MVSUMEX.B0507,DISP=OLD
//MVCONT1 DD DSN=SWDDEV.REPORTS.MVCONT1.B0507,DISP=OLD
//MVCONT2 DD DSN=SWDDEV.REPORTS.MVCONT2.B0507,DISP=OLD
//MVERROR DD DSN=SWDDEV.REPORTS.MVERROR.B0507,DISP=OLD
//LIBRARY DD DSN=SWDDEV.SASSACT.LIBRARY.SASLIB.B0507,DISP=SHR
//WORK DD UNIT=SYSDA,SPACE=(CYL,(150,75))
//SASAUTOS DD DSN=SWDDEV.UICS.MACLIB.COMMON,DISP=SHR
// DD DSN=SWDDEV.UICS.SASSACT.MACLIB.ANNUITY.REPORTS,
// DISP=SHR
// DD DSN=SWDDEV.ANN.UICS.PROD.SASSACT.MACLIB.ANNUITY,DISP=SHR
// DD DSN=SWDDEV.ANN.UICS.PROD.SASSACT.MACLIB.COMMON,DISP=SHR
// DD DSN=SWDDEV.UICS.PROD.SASSACT.MACLIB.COMMON,DISP=SHR
//SASLOG DD SYSOUT=*
//SASLIST DD DSN=SWD.DVAXS.STCSAS.OUT,
// DISP=(OLD,CATLG,CATLG),UNIT=SYSDA,
// SPACE=(CYL,(100,99),RLSE),
// DCB=(RECFM=FB,LRECL=5000,BLKSIZE=0)
|
I have given the display statement here as follows,
Code: |
***********************;
**** Output Record ****;
***********************;
output rawdata.correct;
put 'writing as expected:';
proc print data=rawdata.correct ;
%drop;
|
it's printing in O/p but not as the same record
Code: |
********************************* Top of Data **********************************
Obs valdate POLNO BKNO1 BKNO2 MOPNO MOVECODE SUBCODE
1 31OCT2020 xxxxxxxxxxxx AN 999 09 09 01
2 31OCT2020 xxxxxxxxxxxx AN 999 09 09 01
Obs NAME CLASS MKRS1 MKRS2 MKRS3
1 YYYYYYYYYYYY XXX 528384 0 2
2 YYYYYYYYYYYY XXX 528384 8389120 0 |
Coded for you - next time do it yourself |
|