Search found 6 matches

by Abhilash Sharma
Thu Dec 04, 2014 2:14 pm
Forum: JCL - Job Control Language.
Topic: Many to many copy.
Replies: 2
Views: 324

Many to many copy.

Hi, I've 12 input files (and in future it might be more). Let's file be fileA, fileB, fileC and so on and 12 output files as - fileA1, fileB1, fileC1 and so on. I want to copy the input files to output files such as fileA goes to fileA1, fileB geso to fileB1 ... I know it can be done by IDCAMS but I...
by Abhilash Sharma
Thu Dec 04, 2014 2:09 pm
Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
Topic: What is the difference between INSPECT and FUNCTION LENGTH?
Replies: 7
Views: 2213

Re: What is the difference between INSPECT and FUNCTION LENG

I'd need justifcation too. I'll try with INSPECT and reference modification.
by Abhilash Sharma
Mon Dec 01, 2014 5:10 pm
Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
Topic: What is the difference between INSPECT and FUNCTION LENGTH?
Replies: 7
Views: 2213

Re: What is the difference between INSPECT and FUNCTION LENG

I've a field which migh tcome like this "$$$$$1234" or "$$$$$$234" or "$$$$$$$34" or "$$$$$$$$4" or "$$$$$$$$$", where $ represents a space and it might alos be like "1234$$$$$" etc. I need to replace $ with a zero.
by Abhilash Sharma
Fri Nov 14, 2014 12:03 pm
Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
Topic: What is the difference between INSPECT and FUNCTION LENGTH?
Replies: 7
Views: 2213

What is the difference between INSPECT and FUNCTION LENGTH?

Hi,

I want to find length of a field. Once I know that I'll pad zeroes. But I am not sure if I should this using INSPECT or with intrinsic FUNCTION LENGTH. What is the difference between the two approaches, I'm confused?
by Abhilash Sharma
Fri Nov 14, 2014 12:01 pm
Forum: Thought of the Day, General Talk & Jokes.
Topic: Where do you live?
Replies: 251
Views: 229550

Re: Where do you live?

I'm from India.
by Abhilash Sharma
Fri Nov 14, 2014 11:53 am
Forum: Suggestions & Feedback : About the website.
Topic: How did you find us?
Replies: 294
Views: 501060

Re: How did you find us?

Hi,

I find this forum on google.

Go to advanced search