SIGN TRAILING SEPARATE field occupy ?
Answers were Sorted based on User's Feedback
Answer / varun v
Correct..It occupies one additional byte..
But with one correction to Ans #1.
Here output of "sign trailing separate" is 1234+ and
output of "SIGN LEADING SEPARATE" is +1234.
Thanks
| Is This Answer Correct ? | 35 Yes | 2 No |
Answer / ficofil
Correct..It occupies one additional byte..
But with one correction to Ans #1.
Here output of "sign trailing separate" is 1234+ and
output of "SIGN LEADING SEPARATE" is +1234.
Thanks
| Is This Answer Correct ? | 11 Yes | 1 No |
Answer / shinoy sansilavose
it occupies one additional byte when it is specified with
signed variable declaration.
Example:
01 ws-num pic s9(04) sign trailing separate.
move '+1234' to ws-num
then the value will be stored as +1234.
| Is This Answer Correct ? | 13 Yes | 20 No |
If there are two copybooks which have same variables and we are using both the copybooks in our program. will there be an error and if i move values to the variable which copybook varibales gets the values i move in.
I want to remove a duplicates form a given input field using cobol program. please Any one help me out to solve this ... Thanks in Advance.
What is the difference between external and global variables in COBOL?
How many sections are there in data division in COBOL?
How many types of sorts are there in cobol?
what are the error codes in cobol, db2, cics, vsam , and jcl
Following questions were asked in Capegemini on 8th sep,2012 mainframe test 1.)Condition code for dul recors in VSAM- 2.) Is NULL or =NULL in Select statement 3.)max size of CI 4.)What happens after CI is full 5.)Ques on COND parameter 6.)which among following can not be rolled back a)delete table b.)droptable c)Update d.)insert 7.)groupby and orderby sql querries 8.)Max extents in VSAM file 9.)quesn on DPRTY=(1,10) 10.)range of condition codes in COBOL 11.)occurs clase can not be used at which level? 12.)delimiter in jcl 13.)sort card for file in PGM=SORT 14.)PIC(6) value 120056 possible? 15)question on BLKSIZE Is (20,20) and (20,10) possible? 16.)number of bytes in RDF 17.)Can we use index in WS-section or LK-section 18.)Verify command in IDCAMS used for? 19.)question on Alternate Index 20.)Return code of file attribute mismatch 21.)In which format COBOL variables stored? 22.)what is Alternate of HANDLE? 23.)can SUM,AVG,MIN,ROUND used in numeric and char variable data types? 24.)What is the datatype of FILE STATUS codes in WS-section?
record length in spool?
what happens if we wont give timestamp in precompilation process ?
hi is there any means of deletin a record from a ps usin cobol not using jcl?eg if i am reading a record and if some condition is matched tat particular record must be deletd fom the ps
HOW WE WILL SORT THE ARRAY WHICH IS GOING TO USE FOR SEARCH ALL?
HI THIS IS ANIL. HOW TO PASS A RECORDS OF A FILE(PS OR PDS) TO AN ARRAY?