IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to copy files using cafile master


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Pavankumar.m
Warnings : 1

New User


Joined: 28 Nov 2010
Posts: 53
Location: Mumbai

PostPosted: Mon Jun 04, 2012 10:39 am
Reply with quote

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
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Mon Jun 04, 2012 10:43 am
Reply with quote

Hi,

please explain what this is, I have not heard of it
Quote:
cafile master?



Gerry
Back to top
View user's profile Send private message
Pandora-Box

Global Moderator


Joined: 07 Sep 2006
Posts: 1592
Location: Andromeda Galaxy

PostPosted: Mon Jun 04, 2012 10:50 am
Reply with quote

I guess he ment CA FILE MASTER
Back to top
View user's profile Send private message
Pavankumar.m
Warnings : 1

New User


Joined: 28 Nov 2010
Posts: 53
Location: Mumbai

PostPosted: Mon Jun 04, 2012 11:03 am
Reply with quote

Yes..it is CA FILE Master Plus
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Jun 04, 2012 11:25 am
Reply with quote

what about reading the <product> manual Yourself ? icon_evil.gif
Back to top
View user's profile Send private message
Pavankumar.m
Warnings : 1

New User


Joined: 28 Nov 2010
Posts: 53
Location: Mumbai

PostPosted: Mon Jun 04, 2012 11:41 am
Reply with quote

Please tell me the syntax to read and write into multiple output files....using ca file master plus
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Jun 04, 2012 12:27 pm
Reply with quote

what is that You do not understand in
Quote:
reading the <product> manual Yourself ?

icon_question.gif
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Jun 05, 2012 8:32 am
Reply with quote

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
View user's profile Send private message
Pavankumar.m
Warnings : 1

New User


Joined: 28 Nov 2010
Posts: 53
Location: Mumbai

PostPosted: Tue Jun 05, 2012 9:20 am
Reply with quote

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
View user's profile Send private message
Pandora-Box

Global Moderator


Joined: 07 Sep 2006
Posts: 1592
Location: Andromeda Galaxy

PostPosted: Tue Jun 05, 2012 9:53 am
Reply with quote

can you please post the error message ?
Back to top
View user's profile Send private message
Pavankumar.m
Warnings : 1

New User


Joined: 28 Nov 2010
Posts: 53
Location: Mumbai

PostPosted: Tue Jun 05, 2012 10:09 am
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Jun 05, 2012 10:25 am
Reply with quote

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
View user's profile Send private message
Pavankumar.m
Warnings : 1

New User


Joined: 28 Nov 2010
Posts: 53
Location: Mumbai

PostPosted: Tue Jun 05, 2012 10:36 am
Reply with quote

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
View user's profile Send private message
Pandora-Box

Global Moderator


Joined: 07 Sep 2006
Posts: 1592
Location: Andromeda Galaxy

PostPosted: Tue Jun 05, 2012 10:45 am
Reply with quote

Pavankumar.m wrote:
wtf


Please behave atleast you should have general etiquettes when you talk to elders or seniour
Back to top
View user's profile Send private message
Pavankumar.m
Warnings : 1

New User


Joined: 28 Nov 2010
Posts: 53
Location: Mumbai

PostPosted: Tue Jun 05, 2012 10:49 am
Reply with quote

Please share the answer...
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Jun 05, 2012 10:49 am
Reply with quote

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
View user's profile Send private message
Pandora-Box

Global Moderator


Joined: 07 Sep 2006
Posts: 1592
Location: Andromeda Galaxy

PostPosted: Tue Jun 05, 2012 11:27 am
Reply with quote

Nah I wasnt happy when TS crossing his level of profanity

I would rather stop watching the thread
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Tue Jun 05, 2012 12:18 pm
Reply with quote

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
View user's profile Send private message
Pavankumar.m
Warnings : 1

New User


Joined: 28 Nov 2010
Posts: 53
Location: Mumbai

PostPosted: Tue Jun 05, 2012 5:46 pm
Reply with quote

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
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Tue Jun 05, 2012 6:37 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Jun 05, 2012 9:45 pm
Reply with quote

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
View user's profile Send private message
daveporcelan

Active Member


Joined: 01 Dec 2006
Posts: 792
Location: Pennsylvania

PostPosted: Tue Jun 05, 2012 10:55 pm
Reply with quote

Can we all say punked.

This guy can not be for real.

Lock and/or delete.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts VB to VB copy - Full length reached SYNCSORT 8
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
Search our Forums:

Back to Top