Hi,

We have a requirement to generate all possible combinations of below input and 
need help to achieve it using SORT.


Para_1Var_1A
Para_1Var_1Test
Para_1Var_2B
Para_1Var_2Test
Para_1Var_3C
Para_1Var_3Test
Para_1Var_4D
Para_1Var_4Test

Expected output is all combinations of each Var*
Var* should be of 10 bytes (if text is less than 10 bytes, padd it with spaces)
A, B, C, Text... should be of 60 bytes (if text is less than 60 bytes, padd it 
with spaces)

Output:


Para_1Var_1...(Total 10 bytes)..A (Total 60 bytes)...Var_2....B...Var_3...C
Para_1Var_1...(Total 10 bytes)..Test (Total 60 bytes)...Var_2....B...Var_3...C
Para_1Var_1...(Total 10 bytes)..Test (Total 60 
bytes)...Var_2....Test...Var_3...C
......

Thanks
Adarsh

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to