Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Query on updating the control cards.

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
abdulrafi

Active User


Joined: 14 Sep 2009
Posts: 171
Location: Coimbatore

PostPosted: Mon Feb 25, 2019 7:43 pm    Post subject: Query on updating the control cards.
Reply with quote

Hi,

I have a requirement to update the FTP password in the control cards by comparing with another file. Can you please let me know a
solution.
I am trying to write a cobol program to compare the username's of both input files and update it but we do have the control cards in pds. Hnece I am
trying to convert all pds to ps and then fed it as input to the program. If there is any other way to achieve this via DFSORT or any other utility, please
help me.

One challenge i am facing is, the username and password can be in different positions in the same line as shown below.

Code:

Input:
servername
abdulrafi   paswsword
inputfile1   F1.txt

Input1:
abdulrafi          password1

Output
servername
abdulrafi    password1
inputfile1   F1.txt


I do have 1000 control cards like this to be updated every 6 months.
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8782
Location: Welsh Wales

PostPosted: Mon Feb 25, 2019 8:19 pm    Post subject:
Reply with quote

You really do need to give us something useful to try to help you with, unfortunately psychic day isn't until Friday this week.

Also, if you suggest a DFSORT solution, why have you posted in the VSAM & JCL area, rather than the DFSORT srea.

You have shown us what is in ONE of the input files, how about a clue to what is in the second input file.

Updating the whole PDS could easily be performed by a REXX program, but without knowing much detail ..... who knows.

Please explain in DETAIL the two input files and how they relate to each other and then we can possibly help you.
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


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

PostPosted: Tue Feb 26, 2019 2:42 am    Post subject: Reply to: Query on updating the control cards.
Reply with quote

Seems to be the same query as posted in the beginners forum. This one locked.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies.    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Verify WITH UR present inside program... priyankakir CLIST & REXX 23 Wed Jun 12, 2019 3:37 pm
No new posts Query on updating the control cards. abdulrafi DFSORT/ICETOOL 2 Tue Feb 26, 2019 2:23 pm
No new posts Build SQL query using SORT balaji81_k DFSORT/ICETOOL 15 Mon Feb 18, 2019 9:56 am
No new posts General Query on DB2 table design subratarec DB2 3 Thu Feb 14, 2019 12:49 pm
No new posts Query on summing up the fields abdulrafi DFSORT/ICETOOL 10 Mon Jan 21, 2019 7:18 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us