View previous topic :: View next topic
|
Author |
Message |
Pavankumar.m Warnings : 1 New User
Joined: 28 Nov 2010 Posts: 53 Location: Mumbai
|
|
|
|
Hi,
i want to copy data from one file to another two output files..its like single read and multiple write the same data.
Can anyone please help me ho to do above activity using cafile master?
Thanks,
pavan. |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
please explain what this is, I have not heard of it
Gerry |
|
Back to top |
|
|
Pandora-Box
Global Moderator
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
|
|
I guess he ment CA FILE MASTER |
|
Back to top |
|
|
Pavankumar.m Warnings : 1 New User
Joined: 28 Nov 2010 Posts: 53 Location: Mumbai
|
|
|
|
Yes..it is CA FILE Master Plus |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10888 Location: italy
|
|
|
|
what about reading the <product> manual Yourself ? |
|
Back to top |
|
|
Pavankumar.m Warnings : 1 New User
Joined: 28 Nov 2010 Posts: 53 Location: Mumbai
|
|
|
|
Please tell me the syntax to read and write into multiple output files....using ca file master plus |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10888 Location: italy
|
|
|
|
what is that You do not understand in
Quote: |
reading the <product> manual Yourself ? |
|
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
Please tell me the syntax to read and write into multiple output files....using ca file master plus |
If your organization is licensed to use the product, all of the material is available free from CA Support.
Once you read the manual - if you find something that is not clear, post what you found and your doubt.
Someone will be able to clarify. |
|
Back to top |
|
|
Pavankumar.m Warnings : 1 New User
Joined: 28 Nov 2010 Posts: 53 Location: Mumbai
|
|
|
|
Below is the code which is used for copying files using ca file master...
Code: |
//step exec pgm=cawabatc
//steplib dd dsn=cai.calib,disp=shr
//sysprint dd sysout=*
//systotal dd sysout=*
//sysut1 dd dsn=pava.vxx.file
//sysut10 dd dsn=pava.vxx.out
//sysin dd *
copy
/*
|
error is max cc=20
wht will will be the solution for this? |
|
Back to top |
|
|
Pandora-Box
Global Moderator
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
|
|
can you please post the error message ? |
|
Back to top |
|
|
Pavankumar.m Warnings : 1 New User
Joined: 28 Nov 2010 Posts: 53 Location: Mumbai
|
|
|
|
I am sure that there is no prblem with files...
Because with these files iam able to copy files using sort...
Actaully the ca file master newly implemted in my system.... |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10888 Location: italy
|
|
|
|
since YOU ask for help YOU are supposed to give the info
that people spending time to help YOU ask for ...,
not post useless comments!
unless You start to behave the topic will be locked very shortly! |
|
Back to top |
|
|
Pavankumar.m Warnings : 1 New User
Joined: 28 Nov 2010 Posts: 53 Location: Mumbai
|
|
|
|
Wht are you saying dude...this is not a useless comment ,which i have problem so i posted you...even i am not free to do chit chat here...please tell me if u know the answer or else be quit...dont post usless comments here...wtf |
|
Back to top |
|
|
Pandora-Box
Global Moderator
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
|
|
Please behave atleast you should have general etiquettes when you talk to elders or seniour |
|
Back to top |
|
|
Pavankumar.m Warnings : 1 New User
Joined: 28 Nov 2010 Posts: 53 Location: Mumbai
|
|
|
|
Please share the answer... |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10888 Location: italy
|
|
|
|
Pandora-box,
it is not the netiquette issue I am questioning
it is just the complete lack of good judgement in not providing the info You asked for! |
|
Back to top |
|
|
Pandora-Box
Global Moderator
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
|
|
Nah I wasnt happy when TS crossing his level of profanity
I would rather stop watching the thread |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2454 Location: Hampshire, UK
|
|
|
|
1 - Can CA File Master do what you want?
2 - If it can, what commands must you put in your job?
3 - What is the syntax of those commands?
4 - What JCL is required to execute this requirement?
All these can be found in the manual.
Looking at your JCL and control card you do not appear to have an input file (possibly SYSUT1), any output files (possibly SYSUT10) and you are just saying COPY. You are not specifying what to copy. Is all this correct in accordance with the manual.
Also - you should post the actual JCL used - what you posted is a load of garbage as JCL has to be in UPPER case.
No one here is 'dude'.
Quote: |
Actaully the ca file master newly implemted in my system.... |
is a useless comment |
|
Back to top |
|
|
Pavankumar.m Warnings : 1 New User
Joined: 28 Nov 2010 Posts: 53 Location: Mumbai
|
|
|
|
Thanks alot nic for valuable reply..
I gone thru the doucment and then copied same syntax in job..
And i tried with dd name sysuti and sysutio then to getting same error..
Can u please send me one sample syntax so that will try once again.. |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1744 Location: Tirupur, India
|
|
|
|
Hello,
You can try using INFILE and OUTFILE statements on SYSIN.
Code: |
COPY INFILE(INPUTDD),
OUTFILE(OUTPUTDD) |
The manual says,
The input file ddname defaults to SYSUT1 and the output ddname defaults to SYSUT1O. However, these ddnames may have been changed during installation.
OUTFILE
The OUTFILE keyword points to the output file. The default value is SYSUT1O. However, this may have been changed by updating the installation option, &BAT_INFILE. OUTFILE is only valid with the COPY and UPDATE commands. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
As you were told earlier:
Quote: |
Once you read the manual - if you find something that is not clear, post what you found and your doubt. |
If you are unwilling to participate properly, the topic needs to be locked (as Enrico mentioned).
This would be the worthless comment. . .
Quote: |
I am sure that there is no prblem with files...
Because with these files iam able to copy files using sort... |
Quote: |
error is max cc=20
wht will will be the solution for this?
Please share the answer... |
Quote: |
Actaully the ca file master newly implemted in my system.... |
All the more reason to read the manual and possibly open an issue with Support. The return code 20 is probably documented. . .
The forum is not intended to be a manual reading service.
d |
|
Back to top |
|
|
daveporcelan
Active Member
Joined: 01 Dec 2006 Posts: 792 Location: Pennsylvania
|
|
|
|
Can we all say punked.
This guy can not be for real.
Lock and/or delete. |
|
Back to top |
|
|
|