Sample code :
DISP:PROCEDURE OPTIONS(MAIN);
DCL B FIXED DECIMAL(7);
GET LIST(B);
PUT LIST(B);
END DISP;
DCL B FIXED DECIMAL(7);
GET LIST(B);
PUT LIST(B);
END DISP;
I am giving input as
//SYSIN DD *
1234567
/*
1234567
/*
********************************* TOP OF DATA **********************************
1234567
******************************** BOTTOM OF DATA ********************************
1234567
******************************** BOTTOM OF DATA ********************************
Though i ma giving input either in col 1 of sysin dd * or any column of sysin dd *
i am getting output starting from col 4 of spool
why like so?
can we give input from any column of sysin dd * in pl/i , if we give the same in cobol we will get data truncation?
thanx and regards
pavan