qshell | Shell Tools for Qiniu Cloud
kandi X-RAY | qshell Summary
kandi X-RAY | qshell Summary
Shell Tools for Qiniu Cloud
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of qshell
qshell Key Features
qshell Examples and Code Snippets
Community Discussions
Trending Discussions on qshell
QUESTION
In QSHELL, I do cat of two files with the same text in different encodings, and both print the same content, look (hell.txt is EBCDIC and hellascii.txt is ASCII):
cat hellascii.txt
hello @@@@@@@
cat hell.txt
hello @@@@@@@
od -x hell.txt
0000000 4040 4040 8885 9393 9640 7c7c 7c7c 7c7c
0000020 7c25
0000022
od -x hellascii.txt
0000000 2020 2020 6865 6c6c 6f20 4040 4040 4040
0000020 4000
0000021
In my laptob, in linux or mac, EBCDIC encoding shows other characters that look messed up. How the unix in as400 can print both correctly? I do not see anything such as a file header that indicates the encoding. For example, 0x40 is @ in ascii and space in EBCDIC, but cat prints correctly in hell.txt the 0x40 as space and in hellascii.txt as @.
...ANSWER
Answered 2021-Mar-15 at 00:00On IBM i, the system keeps track of the CCSID assigned to each IFS file. You can see the CCSID by using the -C option of od. Here is an example.
QUESTION
I am new in qshell and would like to ask for assistance. I am trying to get the file count inside an IFS directory using below qshell command.
...ANSWER
Answered 2020-Oct-12 at 07:03The below snippet should work for you
QUESTION
I am using QCMDEXC in COBOL to execute a QShell command like this:
...ANSWER
Answered 2020-Sep-22 at 09:54There's a thread in the archives of the midrange.com COBOL400 mailing list about reading IFS files in COBOL. Here's a post from that thread with a sample program. https://archive.midrange.com/cobol400-l/200010/msg00006.html
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install qshell
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page