can i sort packed decimal if i can tell the syntax
Answer Posted / uttam das
Yes, we can sort the packed decimal
SYNTAX
SORT FIELDS=(01,06,PD,A)
| Is This Answer Correct ? | 11 Yes | 1 No |
Post New Answer View All Answers
What is the purpose of the dd keylen parameter?
Is acct parameter mandatory?
How can unused space allocation be returned to the system when a dataset is closed?
How can the attributes of one sms dataset be copied to another dataset?
List in order the hierarchical levels of jcl?
Mention the types of job control statements?
How can values be passed from the job stream to an executable program?
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
Explain how can an in-stream dataset be terminated?
how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?
Name the statement which can be used to send data to another mvs jes3 node?
Which dd parameters are required?
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
What is the purpose of disp parameter?