CMD Source Questions

1

Problem with CMD/CL and *PNAME type (Path name contains embedded nulls.)
So I am giving a good effort into writing a CL/CMD pair to start one of our programs from the command line, but I’ve hit a snag.  Here is my CMD source: CMD PROMPT(‘Start Engine’) PARM KWD(PGM)      TYPE(*NAME)  LEN(10) DFT(‘TRAN_ENGV2′) PROMPT(‘Engine Program Name’) PARM KWD(PATH)     TYPE(*PNAME) MIN(1) PROMPT(‘IFS Directory’) PARM KWD(PORT) [...]

Answer Question   |  October 10, 2012  3:30 PM
CL, CMD Source, i7, V7R1
asked by:
45 pts.

Create CMD
Hello Experts, I want to create my own CMD te override RTVNETA SYSNAME(&MYSYSTEM) Why? Because we have an net I5 and we have some old (not supported) software that needs a specific system name.  This software use RTVNETA to get the name. I want to create an CMD in an other Library (different from QSYS) [...]

Answer Question   |  March 31, 2012  8:23 AM
CMD, CMD RTVNETA, CMD Source, OS/400
asked by:
10 pts.

I need to create and run this on the CMD and make a program.
how can i do this program please help me T_T A module that will summarize logins and logouts of each employee. This module will use logs.txt as data source and produce another text file summary.txt. Summary.txt should contain but not limited to Employee’s ID; the number of minutes late; the number of hours work.

Answer Question   |  March 31, 2012  12:13 PM
CMD, CMD Source, Data Sources
asked by:
50 pts.

Console command error
I am getting a error stating ” Unable to load frame’s content: B-tree structure is invalid” when trying to access a archive file. From what i can find i need to compact -d the file but when i run the command (load compact -d Filename) it fails staiting file cannot be found.The archive file is [...]

Answer Question   |  December 16, 2010  3:11 PM
CMD, CMD Restriction, CMD Source
asked by:
5 pts.

CMD command on Windows 7
I want to know the command that can shows me the paths of destination to my computer IP in CMD on Windows 7? Can anyone can help me?

Answer Question   |  May 17, 2013  9:58 AM
CMD, CMD Source, Windows 7
asked by:
90 pts.

F9 Retrieve command key
I have many menu options that simply execute a *CMD with various parms. If I key the command on the *CMD line, I can use F9 to retieve previous  commands I ran. But it does not show the *CMD and parms I ran from menu options. Is there something I can do so that my [...]

Answer Question   |  February 22, 2011  8:12 PM
CMD, CMD Restriction, CMD Source, COMMANDS, F9 Previous commands *RQS
asked by:
350 pts.

CPYTOIMPF .txt file shows garbage when viewing on windows
CPYTOIMPF .txt file shows garbage on IFS when viewing on windows but when using wrklnk it looks fine, please help.  below is cmd than used.  /* copy the file to stream file and put delimiter */       CPYTOIMPF  FROMFILE(&FILENAM) TOSTMF(&STRFILE) +                        MBROPT(*REPLACE) STMFCODPAG(*PCASCII) +                    RCDDLM(*CRLF) STRDLM(*NONE) FLDDLM(&DLM)   

Answer Question   |  June 4, 2012  6:57 AM
CCSID, CL Commands, CMD Source, Integrated File System (IFS)
asked by:
5 pts.

Validity Check
I have a CMD that prompts for an email address, subject, message, and spool file info. Is there a way to validate the email prompt field in my CL to determine if the user keyed in the ‘@’ symbol and ‘.’ for the address?

Answer Question   |  August 11, 2010  2:28 PM
CMD, CMD Source
asked by:
445 pts.

Command Source Question
I’d like to create a command using the same format, logic, & layout that is similar to what is seen when you prompt on the SNDNETF command. Can anyone help me?

Answer Question   |  April 29, 2010  2:37 PM
CMD, CMD Source, Command Source, QCMDSRC, SNDNETF
asked by:
685 pts.

Command Source Reference Information
HELP! I’m trying to find information regarding CMD Source Programming. A Programmer’s, or Reference Guide, something like that. Apparently IBM is full of idiotic support people and no one has any idea what I’m talking about. I can’t find anything on the IBM Publib site. Can someone help?

Answer Question   |  May 7, 2008  2:29 PM
CL, CMD, CMD Source, CPP
asked by:
685 pts.

1