Could anyone please suggest me what is the maximum length
of data that can be pass as input in
//sysin dd *
This was asked in interview.
TIA
Answer Posted / deepak
I think 18 Numeric &
160 Character, pls correct me if i am wrong
| Is This Answer Correct ? | 7 Yes | 3 No |
Post New Answer View All Answers
a dd statement has 2 types of parameters. Name them?
What do you understand by the term job time – out and how can you overcome that?
What are s0c1, s0c4, s0c5, s0c7 and socb?
How does the jcl specify the job to os?
Explain how can a stopped job be started again?
how can the same proc be re-used and called by many jobs?
what is use of space parameter in dd statement?
WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375
How to pass data to a program that is coded in an exec statement?
What is the purpose of the dd keylen parameter?
i want to store 20 digits . how will u do it in cobol ?
what is SOC4 error?
How can a jobs execution priority be modified?
Explain about ISPF/TSO Commands
1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat