I have an requirement to get the Data in the Vertical format from Horizontal by using JCL? - zos

INPUT FILE:
NAME AADHAR NUMBER MOBILE NUMBER
OUTPUT FILE:
NAME
AADHAR NUMBER
MOBILE NUMBER

Related

how to custom style the number format in crystal report

Suppose I say I have number eg:89000000000 I need to format like 89,00,00,000.00 in this format of Indian numerical system as crores.
The following formula should work:
CStr({TableName.NumberColumnName}, "##,##,##,##,###.##"))
To explicitly specify the digit grouping character, add those parameters:
CStr({TableName.NumberColumnName}, "##,##,##,##,###.##", 2, ",")
(The digit grouping character depends on the system settings if not specified explicitly.)

How to display and read a float in a non english (german) ionic 3 app?

In an ionic 3 app I am currently trying to get a floating point number as user input. Since the application is exclusively targeting a german audience I am expecting input with a comma as the decimal separator, e.g. 750,5.
In addition I would like to open the numerical keyboard.
I tried including an input field with type="text". I parsed the resulting input string using a custom parsing method, which respects the different decimal separator.
Since the input field has a two way binding and the application might change the number itself I convert the number to a string using the Angular decimal pipe like so:
numberString = new DecimalPipe('de').transform(value.count, '1.0-2');
That worked well, however the app always opens the full alphanumerical keyboard.
To show the numerical keyboard I used the input field with type="number".
<ion-input type="number" step="any"></ion-input>
Using this, the numerical shows as expected. However the input field now includes thousand separators. For example if I type 7500, the input field displays 7,500 using the English decimal separator.
Now I am not sure where this problem is caused but the app itself seems to be running under an English locale although the device is set to German. I expect the problem to be solved by setting the web view locale to German. How could I achieve this?

Format Cell Phone number on Crystal Reports

I searched for a formula to format 10 digit cell phone number on Crystal reports.The output should be this type-(856)854-8098.The formula was:
Picture(ToText({Command.Cell Phone},"##########"),"(xxx) xxx-xxxx")
When I applied it on my report it gave an error on the highlighted part saying "Too many arguments have been given to this function"
Please suggest,how should I modify it to work properly.
I copied your original formula to my report and substituted your command field with a formula containing the phone number you provided. I was able to add it to the report just fine. One debugging option is to hardcode the phone number into a formula on your end and then substitute {Command.CellPhone} with the formula and retest.
I was also able to get it to work by placing this in a formula:
Picture(ToText({#phonenum},"0",0),"(xxx) xxx-xxxx")
Lastly, a dirtier alternative is to place the following in a formula:
'(' & mid(totext({#phonenumber},"0",0),1,3) & ')' & ' ' & Mid(totext({#phonenumber},"0",0),4,3) & '-' & Mid(totext({#phonenumber},"0",0),7,4)
Note:
This solution assumes that the cellphone number field will always be 10 digits
Replace {#phonenumber} with your phone number field from the report Command.

tesseract-ocr - To extract table

I am new to tesseract ocr. I am making use of Google api to extract words and lines from image. I want to extract tables/horizontal & vertical lines. I tried with FindLinesCreateBlockList method. It returns BLOCK_LIST type. I am not aware how to print values from BLOCK_LIST.
Is FindLinesCreateBlockList the right method to extract tables/lines?

Font problem in writting pdf file

I have an application that can write string to pdf file. I want to write data in tabular format so i formatted the string and did write operation. Text shows up in pdf file but its not in proper format. How to do it?
Example :
I want text to be shown as:
Name Address Phone number
Aditya Pune xxxxxxxx
It is actually shown as:
Name Address Phone number
Aditya Pune xxxxxxxx
I have used stringByPaddingToLenght method. So all strings are of same length.
Using Mono-space font solved my problem.